patch-2.1.37 linux/drivers/char/lp_m68k.c

Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/char/lp_intern.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/char/lp_m68k.c linux/drivers/char/lp_m68k.c
@@ -41,6 +41,7 @@
 #include <linux/major.h>
 #include <linux/sched.h>
 #include <linux/string.h>
+#include <linux/init.h>
 #include <asm/irq.h>
 #ifdef CONFIG_KERNELD
 #include <linux/kerneld.h>
@@ -465,7 +466,7 @@
 EXPORT_SYMBOL(register_parallel);
 EXPORT_SYMBOL(unregister_parallel);
 
-int lp_init(void)
+__initfunc(int lp_init(void))
 {
 	extern char m68k_debug_device[];
 
@@ -498,7 +499,7 @@
 /*
  * Currently we do not accept any lp-parameters, but that may change.
  */
-void	lp_setup(char *str, int *ints)
+__initfunc(void lp_setup(char *str, int *ints))
 {	
 }
 

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