patch-2.3.10 linux/drivers/char/amigamouse.c

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

diff -u --recursive --new-file v2.3.9/linux/drivers/char/amigamouse.c linux/drivers/char/amigamouse.c
@@ -309,7 +309,7 @@
 	AMIGAMOUSE_MINOR, "amigamouse", &amiga_mouse_fops
 };
 
-__initfunc(int amiga_mouse_init(void))
+int __init amiga_mouse_init(void)
 {
 	if (!MACH_IS_AMIGA || !AMIGAHW_PRESENT(AMI_MOUSE))
 		return -ENODEV;
@@ -333,7 +333,6 @@
 }
 
 #ifdef MODULE
-#include <asm/setup.h>
 
 int init_module(void)
 {

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