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/mtd.c | |
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 'package/mtd/src/mtd.c')
-rw-r--r-- | package/mtd/src/mtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index b335826..5fa260b 100644 --- a/package/mtd/src/mtd.c +++ b/package/mtd/src/mtd.c @@ -41,7 +41,7 @@ #include <sys/stat.h> #include <sys/reboot.h> #include <linux/reboot.h> -#include "mtd-api.h" +#include <mtd/mtd-user.h> #include "fis.h" #include "mtd.h" |