mtd/include/linux/mtd cfi.h,1.42,1.43
David Woodhouse
dwmw2 at infradead.org
Mon Jul 12 17:57:01 EDT 2004
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv26582
Modified Files:
cfi.h
Log Message:
Fix cfi_interleave_is_X macros
Index: cfi.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/cfi.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- cfi.h 8 Jul 2004 15:25:51 -0000 1.42
+++ cfi.h 12 Jul 2004 21:56:58 -0000 1.43
@@ -18,9 +18,9 @@
#ifdef CONFIG_MTD_CFI_I1
#define cfi_interleave(cfi) 1
-#define cfi_interleave_is_1(map) (cfi_interleave(cfi) == 1)
+#define cfi_interleave_is_1(cfi) (cfi_interleave(cfi) == 1)
#else
-#define cfi_interleave_is_1(map) (0)
+#define cfi_interleave_is_1(cfi) (0)
#endif
#ifdef CONFIG_MTD_CFI_I2
@@ -30,9 +30,9 @@
# else
# define cfi_interleave(cfi) 2
# endif
-#define cfi_interleave_is_2(map) (cfi_interleave(cfi) == 2)
+#define cfi_interleave_is_2(cfi) (cfi_interleave(cfi) == 2)
#else
-#define cfi_interleave_is_2(map) (0)
+#define cfi_interleave_is_2(cfi) (0)
#endif
#ifdef CONFIG_MTD_CFI_I4
@@ -42,9 +42,9 @@
# else
# define cfi_interleave(cfi) 4
# endif
-#define cfi_interleave_is_4(map) (cfi_interleave(cfi) == 4)
+#define cfi_interleave_is_4(cfi) (cfi_interleave(cfi) == 4)
#else
-#define cfi_interleave_is_4(map) (0)
+#define cfi_interleave_is_4(cfi) (0)
#endif
#ifdef CONFIG_MTD_CFI_I8
@@ -54,9 +54,9 @@
# else
# define cfi_interleave(cfi) 8
# endif
-#define cfi_interleave_is_8(map) (cfi_interleave(cfi) == 8)
+#define cfi_interleave_is_8(cfi) (cfi_interleave(cfi) == 8)
#else
-#define cfi_interleave_is_8(map) (0)
+#define cfi_interleave_is_8(cfi) (0)
#endif
/* NB: these values must represents the number of bytes needed to meet the
More information about the linux-mtd-cvs
mailing list