mtd: define MTDREFRESH if not defined (external kernel)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Feb 2012 17:15:40 +0000 (17:15 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Feb 2012 17:15:40 +0000 (17:15 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30340 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mtd/src/mtd.c

index 5fa260b..a7d4c1b 100644 (file)
 #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 */
 
This page took 0.022558 seconds and 4 git commands to generate.