summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.30/065-rootfs_split.patch
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-09 21:16:36 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-09 21:16:36 +0000
commit4ef5b94744e34194d2b6dd09a32b345481add1d8 (patch)
treef5270a9e306935f791ec62a28734a5f6a53e928a /target/linux/generic/patches-2.6.30/065-rootfs_split.patch
parent81199b8bf5677009fc0a13538c9e00707c24af5a (diff)
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28893 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.30/065-rootfs_split.patch')
-rw-r--r--target/linux/generic/patches-2.6.30/065-rootfs_split.patch2
1 files changed, 1 insertions, 1 deletions
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 5caf0aaff..24aad52ef 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