patch-2.3.14 linux/drivers/char/adbmouse.c

Next file: linux/drivers/char/busmouse.c
Previous file: linux/drivers/block/z2ram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/char/adbmouse.c linux/drivers/char/adbmouse.c
@@ -40,7 +40,7 @@
 #ifdef __powerpc__
 #include <asm/processor.h>
 #endif
-#ifdef __mc68000__
+#if defined(__mc68000__) || defined(MODULE)
 #include <asm/setup.h>
 #endif
 
@@ -186,8 +186,6 @@
 }
 
 #ifdef MODULE
-#include <asm/setup.h>
-
 int init_module(void)
 {
 	return adb_mouse_init();

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