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 | 01e1ce82d9f73f59470abe957235c09c97d2c87d (patch) | |
tree | e7f9098c364cbd3eab5c5888773fdabde48d119a /package/mtd/src | |
parent | 81cebd97b1e883732dd884b0e522c171919303be (diff) | |
download | upstream-01e1ce82d9f73f59470abe957235c09c97d2c87d.tar.gz upstream-01e1ce82d9f73f59470abe957235c09c97d2c87d.tar.bz2 upstream-01e1ce82d9f73f59470abe957235c09c97d2c87d.zip |
mtd: define MTDREFRESH if not defined (external kernel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30340 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mtd/src')
-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 5fa260b91a..a7d4c1b857 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 */ |