Skip to contentSkip to conversation

drivers/video/console/*: convert to pci_register_driver

PATCH New Christophe Lucas 1 participant 1 message Feb 10, 2005

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/video/console/*: convert to pci_register_driver

Hi,

Description:
convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO).

Signature · 1 line
Christophe
drivers/video/console/sticore.c +1 -1
diff -urpN -X /work/users/dontdiff linux-2.6.11-rc3-vanilla/drivers/video/console/sticore.c linux-2.6.11-rc3/drivers/video/console/sticore.c
@@ -1050,7 +1050,7 @@ static void __init sti_init_roms(void)
 
 	/* Register drivers for native & PCI cards */
 	register_parisc_driver(&pa_sti_driver);
-	pci_module_init(&pci_sti_driver);
+	pci_register_driver(&pci_sti_driver);
 
 	/* if we didn't find the given default sti, take the first one */
 	if (!default_sti)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors