patch-2.2.0-pre4 linux/drivers/misc/parport_ax.c
Next file: linux/drivers/misc/parport_init.c
Previous file: linux/drivers/misc/parport_arc.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Jan 2 17:55:05 1999
- Orig file:
v2.2.0-pre3/linux/drivers/misc/parport_ax.c
- Orig date:
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/misc/parport_ax.c linux/drivers/misc/parport_ax.c
@@ -586,9 +586,7 @@
printmode(ECPPS2);
}
printk("]\n");
-#ifdef CONFIG_PROC_FS
parport_proc_register(p);
-#endif
p->flags |= PARPORT_FLAG_COMA;
p->ops->write_control(p, 0x0c);
@@ -631,9 +629,7 @@
if (p->modes & PARPORT_MODE_PCSPP) {
if (!(p->flags & PARPORT_FLAG_COMA))
parport_quiesce(p);
-#ifdef CONFIG_PROC_FS
parport_proc_unregister(p);
-#endif
parport_unregister_port(p);
}
p = tmp;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov