patch-2.4.21 linux-2.4.21/drivers/char/joystick/pcigame.c

Next file: linux-2.4.21/drivers/char/keyboard.c
Previous file: linux-2.4.21/drivers/char/joystick/iforce.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/char/joystick/pcigame.c linux-2.4.21/drivers/char/joystick/pcigame.c
@@ -195,7 +195,7 @@
 
 int __init pcigame_init(void)
 {
-	pci_module_init(&pcigame_driver);
+	pci_register_driver(&pcigame_driver);
 	/* Needed by other modules */
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)