mtd/drivers/mtd/devices docecc.c,1.4,1.5 docprobe.c,1.34,1.35
mtdram.c,1.31,1.32
David Woodhouse
dwmw2 at infradead.org
Wed May 21 11:15:11 EDT 2003
- Previous message: mtd/include/linux/mtd compatmac.h,1.54,1.55
- Next message: mtd/drivers/mtd/maps elan-104nc.c,1.16,1.17 iq80310.c,1.15,1.16
map_funcs.c,1.1,1.2 octagon-5066.c,1.23,1.24 pcmciamtd.c,1.44,1.45
tsunami_flash.c,1.5,1.6 vmax301.c,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv26797/drivers/mtd/devices
Modified Files:
docecc.c docprobe.c mtdram.c
Log Message:
include cleanups
Index: docecc.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/docecc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- docecc.c 2 Oct 2001 15:05:13 -0000 1.4
+++ docecc.c 21 May 2003 15:15:06 -0000 1.5
@@ -519,6 +519,8 @@
return nb_errors;
}
+EXPORT_SYMBOL_GPL(doc_decode_ecc);
+
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Fabrice Bellard <fabrice.bellard at netgem.com>");
MODULE_DESCRIPTION("ECC code for correcting errors detected by DiskOnChip 2000 and Millennium ECC hardware");
Index: docprobe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/docprobe.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- docprobe.c 15 May 2003 23:14:13 -0000 1.34
+++ docprobe.c 21 May 2003 15:15:06 -0000 1.35
@@ -47,18 +47,15 @@
#include <linux/module.h>
#include <asm/errno.h>
#include <asm/io.h>
-#include <asm/uaccess.h>
-#include <linux/miscdevice.h>
-#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
-#include <linux/sched.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/doc2000.h>
+#include <linux/mtd/compatmac.h>
/* Where to look for the devices? */
#ifndef CONFIG_MTD_DOCPROBE_ADDRESS
@@ -276,11 +273,7 @@
found, so the user knows we at least tried. */
if (!docfound)
printk(KERN_INFO "No recognised DiskOnChip devices found\n");
- /* So it looks like we've been used and we get unloaded */
- MOD_INC_USE_COUNT;
- MOD_DEC_USE_COUNT;
- return 0;
-
+ return -EAGAIN;
}
module_init(init_doc);
Index: mtdram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/mtdram.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- mtdram.c 20 May 2003 21:03:07 -0000 1.31
+++ mtdram.c 21 May 2003 15:15:07 -0000 1.32
@@ -13,6 +13,8 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/ioport.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/mtd.h>
- Previous message: mtd/include/linux/mtd compatmac.h,1.54,1.55
- Next message: mtd/drivers/mtd/maps elan-104nc.c,1.16,1.17 iq80310.c,1.15,1.16
map_funcs.c,1.1,1.2 octagon-5066.c,1.23,1.24 pcmciamtd.c,1.44,1.45
tsunami_flash.c,1.5,1.6 vmax301.c,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list