projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620843b
)
mtd: define MTDREFRESH if not defined (external kernel)
author
Florian Fainelli
<florian@openwrt.org>
Mon, 6 Feb 2012 17:15:40 +0000
(17:15 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Mon, 6 Feb 2012 17:15:40 +0000
(17:15 +0000)
SVN-Revision: 30340
package/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/mtd/src/mtd.c
b/package/mtd/src/mtd.c
index 5fa260b91a0ac571a60c52aa2464ce7a95accb46..a7d4c1b8579f577caf6b5ee3fe180a1d6436083d 100644
(file)
--- 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 */