mtd/drivers/mtd/maps ichxrom.c, 1.16, 1.17 pci.c, 1.9, 1.10 scb2_flash.c, 1.11, 1.12 amd76xrom.c, 1.19, 1.20

gleixner at infradead.org gleixner at infradead.org
Fri Mar 18 09:04:38 EST 2005


Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv31535

Modified Files:
	ichxrom.c pci.c scb2_flash.c amd76xrom.c 
Log Message:
Kernel Janitor fixes. Signed-off-by: Domen Puncer <domen at coderock.org>

Index: ichxrom.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ichxrom.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ichxrom.c	28 Nov 2004 09:40:39 -0000	1.16
+++ ichxrom.c	18 Mar 2005 14:04:35 -0000	1.17
@@ -366,7 +366,7 @@
 	}
 	return -ENXIO;
 #if 0
-	return pci_module_init(&ichxrom_driver);
+	return pci_register_driver(&ichxrom_driver);
 #endif
 }
 

Index: pci.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/pci.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- pci.c	28 Nov 2004 09:40:40 -0000	1.9
+++ pci.c	18 Mar 2005 14:04:35 -0000	1.10
@@ -370,7 +370,7 @@
 
 static int __init mtd_pci_maps_init(void)
 {
-	return pci_module_init(&mtd_pci_driver);
+	return pci_register_driver(&mtd_pci_driver);
 }
 
 static void __exit mtd_pci_maps_exit(void)

Index: scb2_flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/scb2_flash.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- scb2_flash.c	28 Nov 2004 09:40:40 -0000	1.11
+++ scb2_flash.c	18 Mar 2005 14:04:35 -0000	1.12
@@ -238,7 +238,7 @@
 static int __init
 scb2_flash_init(void)
 {
-	return pci_module_init(&scb2_flash_driver);
+	return pci_register_driver(&scb2_flash_driver);
 }
 
 static void __exit

Index: amd76xrom.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/amd76xrom.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- amd76xrom.c	28 Nov 2004 09:40:39 -0000	1.19
+++ amd76xrom.c	18 Mar 2005 14:04:35 -0000	1.20
@@ -314,7 +314,7 @@
 	}
 	return -ENXIO;
 #if 0
-	return pci_module_init(&amd76xrom_driver);
+	return pci_register_driver(&amd76xrom_driver);
 #endif
 }
 





More information about the linux-mtd-cvs mailing list