[patch 4/9] drivers/video/console/*: convert to pci_register_driver
From: <hidden>
Date: 2005-03-06 10:36:40
convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO). Signed-off-by: Christophe Lucas <redacted> Signed-off-by: Domen Puncer <redacted> --- kj-domen/drivers/video/console/sticore.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/console/sticore.c~pci_register_driver-drivers_video_console drivers/video/console/sticore.c
--- kj/drivers/video/console/sticore.c~pci_register_driver-drivers_video_console 2005-03-05 16:12:58.000000000 +0100
+++ kj-domen/drivers/video/console/sticore.c 2005-03-05 16:12:58.000000000 +0100@@ -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