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

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

diff -u --recursive --new-file v2.1.36/linux/arch/m68k/amiga/cia.c linux/arch/m68k/amiga/cia.c
@@ -15,6 +15,7 @@
 #include <linux/sched.h>
 #include <linux/errno.h>
 #include <linux/kernel_stat.h>
+#include <linux/init.h>
 
 #include <asm/irq.h>
 #include <asm/amigahw.h>
@@ -152,7 +153,7 @@
 	amiga_do_irq_list(base->server_irq, fp, &base->server);
 }
 
-void cia_init_IRQ(struct ciabase *base)
+__initfunc(void cia_init_IRQ(struct ciabase *base))
 {
 	int i;
 

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