From: Florian Fainelli Date: Mon, 6 Feb 2012 17:15:40 +0000 (+0000) Subject: mtd: define MTDREFRESH if not defined (external kernel) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=486d54bf052f433a1c2f71e08aafa75ec0a23728;p=openwrt%2Fstaging%2Fflorian.git mtd: define MTDREFRESH if not defined (external kernel) SVN-Revision: 30340 --- 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 */