From 68eac67f554c4730ac1ebd5406c353f46993f570 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 6 Feb 2012 17:15:40 +0000 Subject: mtd: define MTDREFRESH if not defined (external kernel) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30340 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mtd/src/mtd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/mtd/src') diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index 5fa260b91..a7d4c1b85 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 */ -- cgit v1.2.3