diff options
author | Joern Engel <joern@wh.fh-wedel.de> | 2006-05-30 16:25:17 +0400 |
---|---|---|
committer | Joern Engel <joern@wh.fh-wedel.de> | 2006-05-30 16:25:17 +0400 |
commit | e369d62e92d526a7ed641e2f0b2978fb0ce366c5 (patch) | |
tree | 472a4b65509c725a84ca9ecc61516cc904189029 /include/mtd | |
parent | e1219724be193519f20743f5500bd1eff11890d0 (diff) | |
download | linux-e369d62e92d526a7ed641e2f0b2978fb0ce366c5.tar.xz |
[MTD] replace MTD_ROM with MTD_GENERIC_TYPE
No mtd user should ever check for the device type. Instead, device features
should be checked by the flags - if at all.
As a first step towards type removal, change MTD_ROM into MTD_GENERIC_TYPE.
Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
Diffstat (limited to 'include/mtd')
-rw-r--r-- | include/mtd/mtd-abi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index c11a589bdedf..1ce365bd31d2 100644 --- a/include/mtd/mtd-abi.h +++ b/include/mtd/mtd-abi.h @@ -25,10 +25,10 @@ struct mtd_oob_buf { #define MTD_ABSENT 0 #define MTD_RAM 1 -#define MTD_ROM 2 #define MTD_NORFLASH 3 #define MTD_NANDFLASH 4 #define MTD_DATAFLASH 6 +#define MTD_GENERIC_TYPE 7 #define MTD_WRITEABLE 0x400 /* Device is writeable */ #define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */ |