]> err.no Git - linux-2.6/blobdiff - include/mtd/mtd-abi.h
[PATCH] libata: update ata_do_simple_cmd()
[linux-2.6] / include / mtd / mtd-abi.h
index 7ccadb1eaf7d77fc3779a3dead61ced7b52c4c70..31329fce1ff5dc6111095a83b2ce961881460e1e 100644 (file)
@@ -7,8 +7,9 @@
 #ifndef __MTD_ABI_H__
 #define __MTD_ABI_H__
 
-#ifndef __KERNEL__ /* Urgh. The whole point of splitting this out into
-                   separate files was to avoid #ifdef __KERNEL__ */
+#ifndef __KERNEL__ 
+/* Urgh. The whole point of splitting this out into
+   separate files was to avoid #ifdef __KERNEL__ */
 #define __user
 #endif
 
@@ -24,10 +25,11 @@ 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 */