mtd/drivers/mtd/chips cfi_cmdset_0020.c,1.13,1.14
David Woodhouse
dwmw2 at infradead.org
Mon Jul 19 22:44:28 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv15736/drivers/mtd/chips
Modified Files:
cfi_cmdset_0020.c
Log Message:
The patch below (applies against 2.6.8-rc2) removes some #ifdef's for
kernel 2.0 and 2.2 from the MTD code.
diffstat output:
drivers/mtd/chips/cfi_cmdset_0020.c | 5 -----
drivers/mtd/nand/tx4925ndfmc.c | 8 --------
drivers/mtd/devices/pmc551.c | 12 +++---------
drivers/mtd/nand/autcpu12.c | 8 --------
include/linux/mtd/cfi.h | 2 --
5 files changed, 3 insertions(+), 32 deletions(-)
Signed-off-by: Adrian Bunk <bunk at fs.tum.de>
Index: cfi_cmdset_0020.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0020.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- cfi_cmdset_0020.c 12 Jul 2004 21:52:50 -0000 1.13
+++ cfi_cmdset_0020.c 20 Jul 2004 02:44:25 -0000 1.14
@@ -1400,11 +1400,6 @@
kfree(cfi);
}
-#if LINUX_VERSION_CODE < 0x20212 && defined(MODULE)
-#define cfi_staa_init init_module
-#define cfi_staa_exit cleanup_module
-#endif
-
static char im_name[]="cfi_cmdset_0020";
int __init cfi_staa_init(void)
More information about the linux-mtd-cvs
mailing list