[MTD] replace MTD_ROM with MTD_GENERIC_TYPE
[firefly-linux-kernel-4.4.55.git] / include / mtd / mtd-abi.h
index c11a589bdedf18d73bdb0febec30fcdc6e038632..1ce365bd31d27d9afb12f6202a951fe0ebd6b12c 100644 (file)
@@ -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 */