patch-2.1.129 linux/drivers/misc/parport_arc.c
Next file: linux/drivers/misc/parport_ax.c
Previous file: linux/drivers/macintosh/via-pmu.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 15 09:52:25 1998
- Orig file:
v2.1.128/linux/drivers/misc/parport_arc.c
- Orig date:
Fri Oct 23 22:01:21 1998
diff -u --recursive --new-file v2.1.128/linux/drivers/misc/parport_arc.c linux/drivers/misc/parport_arc.c
@@ -14,6 +14,7 @@
* a subset of the standard printer control lines connected.
*/
+#include <linux/config.h>
#include <linux/tasks.h>
#include <linux/delay.h>
#include <linux/errno.h>
@@ -141,7 +142,9 @@
printk(KERN_INFO "%s: Archimedes on-board port, using irq %d\n",
p->irq);
+#ifdef CONFIG_PROC_FS
parport_proc_register(p);
+#endif
p->flags |= PARPORT_FLAG_COMA;
if (parport_probe_hook)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov