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 | fba8b20978ce411dead0de32f127cd0a03cc96e7 (patch) | |
tree | f5270a9e306935f791ec62a28734a5f6a53e928a /package/mtd/src/imagetag.c | |
parent | d405d062dc75a88535e901e255e38c8e730c8305 (diff) | |
download | master-187ad058-fba8b20978ce411dead0de32f127cd0a03cc96e7.tar.gz master-187ad058-fba8b20978ce411dead0de32f127cd0a03cc96e7.tar.bz2 master-187ad058-fba8b20978ce411dead0de32f127cd0a03cc96e7.zip |
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 'package/mtd/src/imagetag.c')
-rw-r--r-- | package/mtd/src/imagetag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/imagetag.c b/package/mtd/src/imagetag.c index f6095be44a..a4ce86d6e9 100644 --- a/package/mtd/src/imagetag.c +++ b/package/mtd/src/imagetag.c @@ -31,7 +31,7 @@ #include <errno.h> #include <sys/ioctl.h> -#include "mtd-api.h" +#include <mtd/mtd-user.h> #include "mtd.h" #include "crc32.h" #include "bcm_tag.h" |