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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -28,6 +28,7 @@
 #include <linux/string.h>
 #include <linux/ioport.h>
 #include <linux/random.h>
+#include <linux/init.h>
 
 #include <asm/bitops.h>
 
@@ -1192,7 +1193,7 @@
 	}
 }
 
-int kbd_init(void)
+__initfunc(int kbd_init(void))
 {
 	int i;
 	struct kbd_struct kbd0;
@@ -1306,7 +1307,7 @@
 	outb(data, address);               /* write out the data*/
 }
 
-static int initialize_kbd(void)
+__initfunc(static int initialize_kbd(void))
 {
 	unsigned long flags;
 

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