diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-02-06 17:15:40 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-02-06 17:15:40 +0000 |
commit | 486d54bf052f433a1c2f71e08aafa75ec0a23728 (patch) | |
tree | fe269f1842b74f67681e60058926e2459f4773e7 /package/mtd/src/mtd.c | |
parent | 620843b2eef4c20d4fd63ba5fd3d30392702c5c0 (diff) | |
download | mtk-20170518-486d54bf052f433a1c2f71e08aafa75ec0a23728.zip mtk-20170518-486d54bf052f433a1c2f71e08aafa75ec0a23728.tar.gz mtk-20170518-486d54bf052f433a1c2f71e08aafa75ec0a23728.tar.bz2 |
mtd: define MTDREFRESH if not defined (external kernel)
SVN-Revision: 30340
Diffstat (limited to 'package/mtd/src/mtd.c')
-rw-r--r-- | package/mtd/src/mtd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index 5fa260b..a7d4c1b 100644 --- a/package/mtd/src/mtd.c +++ b/package/mtd/src/mtd.c @@ -45,6 +45,10 @@ #include "fis.h" #include "mtd.h" +#ifndef MTDREFRESH +#define MTDREFRESH _IO('M', 50) +#endif + #define MAX_ARGS 8 #define JFFS2_DEFAULT_DIR "" /* directory name without /, empty means root dir */ |