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

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

diff -u --recursive --new-file v2.3.15/linux/drivers/char/adbmouse.c linux/drivers/char/adbmouse.c
@@ -145,10 +145,10 @@
 
 static struct busmouse adb_mouse =
 {
-	ADB_MOUSE_MINOR, "adbmouse", open_mouse, close_mouse, 7
+	ADB_MOUSE_MINOR, "adbmouse", open_mouse, release_mouse, 7
 };
 
-__initfunc(int adb_mouse_init(void))
+int __init adb_mouse_init(void)
 {
 #ifdef __powerpc__
 	if ((_machine != _MACH_chrp) && (_machine != _MACH_Pmac))
@@ -174,7 +174,7 @@
  * option, which is about using ADB keyboard buttons to emulate
  * mouse buttons. -- paulus
  */
-__initfunc(void adb_mouse_setup(char *str, int *ints))
+void __init adb_mouse_setup(char *str, int *ints)
 {
 	if (ints[0] >= 1) {
 		adb_emulate_buttons = ints[1] > 0;

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