diff options
author | Jonas Gorski <jogo@openwrt.org> | 2011-11-09 21:16:36 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2011-11-09 21:16:36 +0000 |
commit | f53128f79b8fa5ec781c6c8957477b46c6198e8f (patch) | |
tree | e4dae86e656a23c52dc608cf832f2a45e4c4e184 /target/linux/generic/patches-2.6.32/065-rootfs_split.patch | |
parent | 44da6400cde94d6b3cb7581cf474282ea1bcafd3 (diff) | |
download | mtk-20170518-f53128f79b8fa5ec781c6c8957477b46c6198e8f.zip mtk-20170518-f53128f79b8fa5ec781c6c8957477b46c6198e8f.tar.gz mtk-20170518-f53128f79b8fa5ec781c6c8957477b46c6198e8f.tar.bz2 |
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
Diffstat (limited to 'target/linux/generic/patches-2.6.32/065-rootfs_split.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.32/065-rootfs_split.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-2.6.32/065-rootfs_split.patch b/target/linux/generic/patches-2.6.32/065-rootfs_split.patch index 1d92ebe..288336d 100644 --- a/target/linux/generic/patches-2.6.32/065-rootfs_split.patch +++ b/target/linux/generic/patches-2.6.32/065-rootfs_split.patch @@ -621,7 +621,7 @@ #define MEMERASE64 _IOW('M', 20, struct erase_info_user64) #define MEMWRITEOOB64 _IOWR('M', 21, struct mtd_oob_buf64) #define MEMREADOOB64 _IOWR('M', 22, struct mtd_oob_buf64) -+#define MTDREFRESH _IO('M', 23) ++#define MTDREFRESH _IO('M', 50) /* * Obsolete legacy interface. Keep it in order not to break userspace |