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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/char/msbusmouse.c linux/drivers/char/msbusmouse.c
@@ -41,6 +41,7 @@
 #include <linux/miscdevice.h>
 #include <linux/random.h>
 #include <linux/poll.h>
+#include <linux/init.h>
 
 #include <asm/io.h>
 #include <asm/uaccess.h>
@@ -183,7 +184,7 @@
 	MICROSOFT_BUSMOUSE, "msbusmouse", &ms_bus_mouse_fops
 };
 
-int ms_bus_mouse_init(void)
+__initfunc(int ms_bus_mouse_init(void))
 {
 	int mse_byte, i;
 

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