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

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

diff -u --recursive --new-file v2.1.36/linux/arch/m68k/amiga/amifb.c linux/arch/m68k/amiga/amifb.c
@@ -50,12 +50,14 @@
 #include <linux/delay.h>
 #include <linux/config.h>
 #include <linux/interrupt.h>
+#include <linux/fb.h>
+#include <linux/init.h>
+
 #include <asm/uaccess.h>
 #include <asm/system.h>
 #include <asm/irq.h>
 #include <asm/amigahw.h>
 #include <asm/amigaints.h>
-#include <linux/fb.h>
 
 #define DEBUG
 
@@ -1802,7 +1804,7 @@
 	 * Initialisation
 	 */
 
-struct fb_info *amiga_fb_init(long *mem_start)
+__initfunc(struct fb_info *amiga_fb_init(long *mem_start))
 {
 	int err, tag, i;
 	u_long chipptr;

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