patch-2.1.37 linux/arch/m68k/amiga/amikeyb.c

Next file: linux/arch/m68k/amiga/amisound.c
Previous file: linux/arch/m68k/amiga/amiints.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/arch/m68k/amiga/amikeyb.c linux/arch/m68k/amiga/amikeyb.c
@@ -22,6 +22,7 @@
 #include <linux/kd.h>
 #include <linux/random.h>
 #include <linux/kernel.h>
+#include <linux/init.h>
 
 #include <asm/amigaints.h>
 #include <asm/amigahw.h>
@@ -295,7 +296,7 @@
 	}
 }
 
-int amiga_keyb_init(void)
+__initfunc(int amiga_keyb_init(void))
 {
     if (!AMIGAHW_PRESENT(AMI_KEYBOARD))
         return -EIO;

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