DORMANTno replies

[patch 7/9] drivers/video/sis/*: convert to pci_register_driver

From: <hidden>
Date: 2005-03-06 10:36:45

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/sis/sis_main.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/video/sis/sis_main.c~pci_register_driver-drivers_video_sis drivers/video/sis/sis_main.c
--- kj/drivers/video/sis/sis_main.c~pci_register_driver-drivers_video_sis	2005-03-05 16:13:01.000000000 +0100
+++ kj-domen/drivers/video/sis/sis_main.c	2005-03-05 16:13:01.000000000 +0100
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help