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 /package/mtd/src/trx.c | |
parent | 44da6400cde94d6b3cb7581cf474282ea1bcafd3 (diff) | |
download | upstream-f53128f79b8fa5ec781c6c8957477b46c6198e8f.tar.gz upstream-f53128f79b8fa5ec781c6c8957477b46c6198e8f.tar.bz2 upstream-f53128f79b8fa5ec781c6c8957477b46c6198e8f.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.
SVN-Revision: 28893
Diffstat (limited to 'package/mtd/src/trx.c')
-rw-r--r-- | package/mtd/src/trx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/trx.c b/package/mtd/src/trx.c index b8d9e2bf05..d1aab36923 100644 --- a/package/mtd/src/trx.c +++ b/package/mtd/src/trx.c @@ -30,7 +30,7 @@ #include <errno.h> #include <sys/ioctl.h> -#include "mtd-api.h" +#include <mtd/mtd-user.h> #include "mtd.h" #include "crc32.h" |