patch-2.1.101 linux/drivers/macintosh/aty.c

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

diff -u --recursive --new-file v2.1.100/linux/drivers/macintosh/aty.c linux/drivers/macintosh/aty.c
@@ -25,6 +25,7 @@
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/pci-bridge.h>
+#include <asm/init.h>
 #include "pmac-cons.h"
 #include "aty.h"
 
@@ -150,6 +151,8 @@
 	&aty_vt_reg_init_19,
 	&aty_vt_reg_init_20
 };
+
+__openfirmware
 
 static inline int
 aty_vram_reqd(int vmode, int cmode)

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