patch-2.2.0-pre4 linux/drivers/misc/parport_init.c
Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/misc/parport_ax.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Sat Jan 2 17:55:05 1999
- Orig file:
v2.2.0-pre3/linux/drivers/misc/parport_init.c
- Orig date:
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/misc/parport_init.c linux/drivers/misc/parport_init.c
@@ -98,19 +98,17 @@
#ifdef MODULE
int init_module(void)
{
-#ifdef CONFIG_PROC_FS
(void)parport_proc_init(); /* We can go on without it. */
-#endif
return 0;
}
void cleanup_module(void)
{
-#ifdef CONFIG_PROC_FS
parport_proc_cleanup();
-#endif
}
+
#else
+
__initfunc(int parport_init(void))
{
if (io[0] == PARPORT_DISABLE)
@@ -145,10 +143,8 @@
EXPORT_SYMBOL(parport_enumerate);
EXPORT_SYMBOL(parport_ieee1284_nibble_mode_ok);
EXPORT_SYMBOL(parport_wait_peripheral);
-#ifdef CONFIG_PROC_FS
EXPORT_SYMBOL(parport_proc_register);
EXPORT_SYMBOL(parport_proc_unregister);
-#endif
EXPORT_SYMBOL(parport_probe_hook);
EXPORT_SYMBOL(parport_parse_irqs);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]