target: linux: mtd: fix MTDREFRESH to an arbitrary high number
authorJonas Gorski <jogo@openwrt.org>
Wed, 9 Nov 2011 21:16:36 +0000 (21:16 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 9 Nov 2011 21:16:36 +0000 (21:16 +0000)
commitfba8b20978ce411dead0de32f127cd0a03cc96e7
treef5270a9e306935f791ec62a28734a5f6a53e928a
parentd405d062dc75a88535e901e255e38c8e730c8305
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
14 files changed:
package/mtd/Makefile
package/mtd/src/imagetag.c
package/mtd/src/mtd-api.h [deleted file]
package/mtd/src/mtd.c
package/mtd/src/trx.c
target/linux/generic/patches-2.6.30/065-rootfs_split.patch
target/linux/generic/patches-2.6.31/065-rootfs_split.patch
target/linux/generic/patches-2.6.32/065-rootfs_split.patch
target/linux/generic/patches-2.6.36/065-rootfs_split.patch
target/linux/generic/patches-2.6.37/400-rootfs_split.patch
target/linux/generic/patches-2.6.38/400-rootfs_split.patch
target/linux/generic/patches-2.6.39/400-rootfs_split.patch
target/linux/generic/patches-3.0/400-rootfs_split.patch
target/linux/generic/patches-3.1/400-rootfs_split.patch