patch-2.1.36 linux/drivers/char/busmouse.c

Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/atixlmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/char/busmouse.c linux/drivers/char/busmouse.c
@@ -46,6 +46,7 @@
 #include <linux/random.h>
 #include <linux/delay.h>
 #include <linux/ioport.h>
+#include <linux/init.h>
 
 #include <asm/io.h>
 #include <asm/uaccess.h>
@@ -246,7 +247,7 @@
 	LOGITECH_BUSMOUSE, "busmouse", &bus_mouse_fops
 };
 
-int bus_mouse_init(void)
+__initfunc(int bus_mouse_init(void))
 {
 	if (check_region(LOGIBM_BASE, LOGIBM_EXTENT)) {
 	  mouse.present = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov