patch-2.1.37 linux/arch/m68k/atari/stdma.c

Next file: linux/arch/m68k/atari/stram.c
Previous file: linux/arch/m68k/atari/joystick.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/arch/m68k/atari/stdma.c linux/arch/m68k/atari/stdma.c
@@ -32,6 +32,8 @@
 #include <linux/types.h>
 #include <linux/genhd.h>
 #include <linux/sched.h>
+#include <linux/init.h>
+
 #include <asm/atari_stdma.h>
 #include <asm/atariints.h>
 #include <asm/atarihw.h>
@@ -171,7 +173,7 @@
  *
  */
 
-void stdma_init(void)
+__initfunc(void stdma_init(void))
 {
 	stdma_isr = NULL;
 	request_irq(IRQ_MFP_FDC, stdma_int, IRQ_TYPE_SLOW,

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