From f53128f79b8fa5ec781c6c8957477b46c6198e8f Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Wed, 9 Nov 2011 21:16:36 +0000 Subject: target: linux: mtd: fix MTDREFRESH to an arbitrary high number To make the ioctl number "stable", use an arbitrary high number to prevent conflicts with new mtd ioctls that would push MTDREFRESH's number. Also make mtd use the in-kernel mtd headers. SVN-Revision: 28893 --- target/linux/generic/patches-2.6.30/065-rootfs_split.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-2.6.30') diff --git a/target/linux/generic/patches-2.6.30/065-rootfs_split.patch b/target/linux/generic/patches-2.6.30/065-rootfs_split.patch index 5caf0aa..24aad52 100644 --- a/target/linux/generic/patches-2.6.30/065-rootfs_split.patch +++ b/target/linux/generic/patches-2.6.30/065-rootfs_split.patch @@ -629,7 +629,7 @@ #define ECCGETLAYOUT _IOR('M', 17, struct nand_ecclayout) #define ECCGETSTATS _IOR('M', 18, struct mtd_ecc_stats) #define MTDFILEMODE _IO('M', 19) -+#define MTDREFRESH _IO('M', 23) ++#define MTDREFRESH _IO('M', 50) /* * Obsolete legacy interface. Keep it in order not to break userspace -- cgit v1.1