patch-2.4.11-dontuse linux/drivers/mtd/maps/cfi_flagadm.c
Next file: linux/drivers/mtd/maps/cstm_mips_ixx.c
Previous file: linux/drivers/mtd/maps/cdb89712.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Thu Oct 4 15:14:59 2001
- Orig file:
v2.4.10/linux/drivers/mtd/maps/cfi_flagadm.c
- Orig date:
Tue Jul 3 17:08:20 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/mtd/maps/cfi_flagadm.c linux/drivers/mtd/maps/cfi_flagadm.c
@@ -1,7 +1,7 @@
/*
* Copyright © 2001 Flaga hf. Medical Devices, Kári Davíđsson <kd@flaga.is>
*
- * $Id: cfi_flagadm.c,v 1.5 2001/05/29 15:47:49 kd Exp $
+ * $Id: cfi_flagadm.c,v 1.7 2001/10/02 15:05:13 dwmw2 Exp $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -137,11 +137,6 @@
#define PARTITION_COUNT (sizeof(flagadm_parts)/sizeof(struct mtd_partition))
-#if LINUX_VERSION_CODE < 0x20212 && defined(MODULE)
-#define init_flagadm init_module
-#define cleanup_flagadm cleanup_module
-#endif
-
static struct mtd_info *mymtd;
int __init init_flagadm(void)
@@ -156,7 +151,7 @@
printk("Failed to ioremap\n");
return -EIO;
}
- mymtd = do_map_probe("cfi", &flagadm_map);
+ mymtd = do_map_probe("cfi_probe", &flagadm_map);
if (mymtd) {
mymtd->module = THIS_MODULE;
add_mtd_partitions(mymtd, flagadm_parts, PARTITION_COUNT);
@@ -182,3 +177,8 @@
module_init(init_flagadm);
module_exit(cleanup_flagadm);
+
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Kári Davíđsson <kd@flaga.is>");
+MODULE_DESCRIPTION("MTD map driver for Flaga digital module");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)