summaryrefslogtreecommitdiff
path: root/package/mtd/src/trx.c
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2011-11-09 21:16:36 +0000
committerJonas Gorski <jogo@openwrt.org>2011-11-09 21:16:36 +0000
commitf53128f79b8fa5ec781c6c8957477b46c6198e8f (patch)
treee4dae86e656a23c52dc608cf832f2a45e4c4e184 /package/mtd/src/trx.c
parent44da6400cde94d6b3cb7581cf474282ea1bcafd3 (diff)
downloadmtk-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/trx.c')
-rw-r--r--package/mtd/src/trx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/trx.c b/package/mtd/src/trx.c
index b8d9e2b..d1aab36 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"