projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c591e
)
Remove unused MTD types
author
Jörn Engel
<joern@wohnheim.fh-wedel.de>
Thu, 13 Apr 2006 16:55:09 +0000
(18:55 +0200)
committer
David Woodhouse
<dwmw2@infradead.org>
Mon, 17 Apr 2006 14:48:17 +0000
(15:48 +0100)
Three types are never set or checked for. Remove.
Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/mtd/mtd-abi.h
patch
|
blob
|
history
diff --git
a/include/mtd/mtd-abi.h
b/include/mtd/mtd-abi.h
index cc7be33b422552d9a58027cb5ef539d1f35f12cb..fa2524157846afeebecbe9fffeb86844a1d392fb 100644
(file)
--- a/
include/mtd/mtd-abi.h
+++ b/
include/mtd/mtd-abi.h
@@
-28,10
+28,7
@@
struct mtd_oob_buf {
#define MTD_ROM 2
#define MTD_NORFLASH 3
#define MTD_NANDFLASH 4
-#define MTD_PEROM 5
#define MTD_DATAFLASH 6
-#define MTD_OTHER 14
-#define MTD_UNKNOWN 15
#define MTD_CLEAR_BITS 1 // Bits can be cleared (flash)
#define MTD_SET_BITS 2 // Bits can be set