drivers/video/sis/*: convert to pci_register_driver
PATCH 7/9 drivers/video/sis/*: convert to pci_register_driver
convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO).
Signed-off-by Christophe Lucas <[email protected]>
Signed-off-by Domen Puncer <[email protected]>
---
kj-domen/drivers/video/sis/sis_main.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/sis/sis_main.c renamed from drivers/video/sis/sis_main.c~pci_register_driver-drivers_video_sis +1 -1
@@ -5694,7 +5694,7 @@ SISINITSTATIC int __init sisfb_init(voidsisfb_setup (options);#endif #endif -return (pci_module_init (&sisfb_driver)); +return (pci_register_driver (&sisfb_driver)); }#if LINUX_VERSION_CODE >KERNEL_VERSION (2 ,6 ,8 )
_
-------------------------------------------------------
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