mtd/drivers/mtd/nand diskonchip.c, 1.40, 1.41 ppchameleonevb.c, 1.5,
1.6
Kalev Lember
kalev at infradead.org
Fri Nov 5 11:07:20 EST 2004
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv15096/drivers/mtd/nand
Modified Files:
diskonchip.c ppchameleonevb.c
Log Message:
Fix conversion to module_param macro.
The type should be ulong rather that u_long.
See include/linux/moduleparam.h
Index: diskonchip.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/diskonchip.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- diskonchip.c 4 Nov 2004 12:53:10 -0000 1.40
+++ diskonchip.c 5 Nov 2004 16:07:16 -0000 1.41
@@ -123,7 +123,7 @@
module_param(inftl_bbt_write, int, 0);
static unsigned long doc_config_location = CONFIG_MTD_DISKONCHIP_PROBE_ADDRESS;
-module_param(doc_config_location, u_long, 0);
+module_param(doc_config_location, ulong, 0);
MODULE_PARM_DESC(doc_config_location, "Physical memory address at which to probe for DiskOnChip");
Index: ppchameleonevb.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/ppchameleonevb.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ppchameleonevb.c 4 Nov 2004 12:53:10 -0000 1.5
+++ ppchameleonevb.c 5 Nov 2004 16:07:16 -0000 1.6
@@ -68,8 +68,8 @@
static unsigned long ppchameleonevb_fio_pbase = CFG_NAND1_PADDR;
#ifdef MODULE
-module_param(ppchameleon_fio_pbase, u_long, 0);
-module_param(ppchameleonevb_fio_pbase, u_long, 0);
+module_param(ppchameleon_fio_pbase, ulong, 0);
+module_param(ppchameleonevb_fio_pbase, ulong, 0);
#else
__setup("ppchameleon_fio_pbase=",ppchameleon_fio_pbase);
__setup("ppchameleonevb_fio_pbase=",ppchameleonevb_fio_pbase);
More information about the linux-mtd-cvs
mailing list