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

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

diff -u --recursive --new-file v2.1.128/linux/drivers/char/lp_m68k.c linux/drivers/char/lp_m68k.c
@@ -477,7 +477,7 @@
 EXPORT_SYMBOL(register_parallel);
 EXPORT_SYMBOL(unregister_parallel);
 
-__initfunc(int lp_init(void))
+__initfunc(int lp_m68k_init(void))
 {
 	extern char m68k_debug_device[];
 
@@ -517,12 +517,12 @@
 #ifdef MODULE
 int init_module(void)
 {
-return lp_init();
+	return lp_m68k_init();
 }
 
 void cleanup_module(void)
 {
-unregister_chrdev(LP_MAJOR, "lp");
+	unregister_chrdev(LP_MAJOR, "lp");
 }
 #endif
 

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