patch-2.1.92 linux/drivers/isdn/pcbit/module.c

Next file: linux/drivers/isdn/sc/debug.c
Previous file: linux/drivers/isdn/pcbit/layer2.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.91/linux/drivers/isdn/pcbit/module.c linux/drivers/isdn/pcbit/module.c
@@ -35,10 +35,8 @@
 extern int pcbit_init_dev(int board, int mem_base, int irq);
 
 #ifdef MODULE
-#if (LINUX_VERSION_CODE > 0x020111)
 MODULE_PARM(mem, "1-" __MODULE_STRING(MAX_PCBIT_CARDS) "i");
 MODULE_PARM(irq, "1-" __MODULE_STRING(MAX_PCBIT_CARDS) "i");
-#endif
 #define pcbit_init init_module
 #endif
 
@@ -87,11 +85,7 @@
 	}
 
 	/* No symbols to export, hide all symbols */
-#if (LINUX_VERSION_CODE < 0x020111)
-	register_symtab(NULL);
-#else
 	EXPORT_NO_SYMBOLS;
-#endif
 
 	return 0;
 }

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