Skip to contentSkip to conversation

drivers/video/sis/*: convert to pci_register_driver

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

lore
Share & tools
lore
#0 lore raw

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).

---

 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
diff -puN drivers/video/sis/sis_main.c~pci_register_driver-drivers_video_sis drivers/video/sis/sis_main.c
@@ -5694,7 +5694,7 @@ SISINITSTATIC int __init sisfb_init(void
 	sisfb_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