patch-2.4.19 linux-2.4.19/drivers/char/qtronix.c

Next file: linux-2.4.19/drivers/char/qtronixmap.c
Previous file: linux-2.4.19/drivers/char/q40_keyb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/char/qtronix.c linux-2.4.19/drivers/char/qtronix.c
@@ -51,6 +51,7 @@
 
 #ifdef CONFIG_QTRONIX_KEYBOARD
 
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/kernel.h>
@@ -121,7 +122,7 @@
 
 };
 
-void init_qtronix_990P_kbd(void)
+void __init init_qtronix_990P_kbd(void)
 {
 	int retval;
 
@@ -594,4 +595,5 @@
 
 	return 0;
 }
+module_init(init_qtronix_990P_kbd);
 #endif

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