patch-2.1.101 linux/drivers/macintosh/macio-adb.c

Next file: linux/drivers/macintosh/macserial.c
Previous file: linux/drivers/macintosh/mac_keyb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/drivers/macintosh/macio-adb.c linux/drivers/macintosh/macio-adb.c
@@ -14,6 +14,7 @@
 #include <asm/hydra.h>
 #include <asm/irq.h>
 #include <asm/system.h>
+#include <asm/init.h>
 
 struct preg {
 	unsigned char r;
@@ -63,6 +64,8 @@
 static int macio_adb_autopoll(int on);
 static void macio_adb_poll(void);
 static void completed(void);
+
+__openfirmware
 
 void macio_adb_init(void)
 {

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