patch-2.1.52 linux/drivers/misc/parport_arc.c
Next file: linux/drivers/misc/parport_ieee1284.c
Previous file: linux/drivers/misc/BUGS-parport
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Tue Aug 26 14:52:44 1997
- Orig file:
v2.1.51/linux/drivers/misc/parport_arc.c
- Orig date:
Mon Aug 4 16:25:37 1997
diff -u --recursive --new-file v2.1.51/linux/drivers/misc/parport_arc.c linux/drivers/misc/parport_arc.c
@@ -1,7 +1,6 @@
-/* $Id$
- * Parallel-port routines for ARC onboard hardware.
+/* Parallel-port routines for ARC onboard hardware.
*
- * Author: Phil Blundell <pjb27@cam.ac.uk>
+ * Author: Phil Blundell <Philip.Blundell@pobox.com>
*/
#include <linux/tasks.h>
@@ -37,6 +36,20 @@
return data_copy;
}
+static void arc_inc_use_count(void)
+{
+#ifdef MODULE
+ MOD_INC_USE_COUNT;
+#endif
+}
+
+static void arc_dec_use_count(void)
+{
+#ifdef MODULE
+ MOD_DEC_USE_COUNT;
+#endif
+}
+
static struct parport_operations arc_ops =
{
arc_write_data,
@@ -72,5 +85,8 @@
arc_enable_irq,
arc_disable_irq,
- arc_examine_irq
+ arc_examine_irq,
+
+ arc_inc_use_count,
+ arc_dec_use_count
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov