Skip to contentSkip to conversation

drivers/video/sis/*: convert to pci_register_driver

PATCH New Christophe Lucas 1 participant 1 message Feb 10, 2005

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

PATCH 1/1 drivers/video/sis/*: convert to pci_register_driver

Hi,

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

Signature · 1 line
Christophe
drivers/video/sis/sis_main.c +1 -1
diff -urpN -X /work/users/dontdiff linux-2.6.11-rc3-vanilla/drivers/video/sis/sis_main.c linux-2.6.11-rc3/drivers/video/sis/sis_main.c
@@ -5693,7 +5693,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)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors