Skip to contentSkip to conversation

drivers/video/console/*: convert to pci_register_driver

PATCH New [email protected] 1 participant 1 message Mar 6, 2005

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

PATCH 4/9 drivers/video/console/*: convert to pci_register_driver

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

---

 kj-domen/drivers/video/console/sticore.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/console/sticore.c renamed from drivers/video/console/sticore.c~pci_register_driver-drivers_video_console +1 -1
diff -puN drivers/video/console/sticore.c~pci_register_driver-drivers_video_console 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)

_

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click