Update of /cvsroot/linux-mips/linux/drivers/char
In directory usw-pr-cvs1:/tmp/cvs-serv32596
Modified Files:
vr41xxwdt.c
Log Message:
Make things build under 2.4 again.
Index: vr41xxwdt.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/char/vr41xxwdt.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- vr41xxwdt.c 24 May 2002 14:52:25 -0000 1.6
+++ vr41xxwdt.c 31 May 2002 18:03:04 -0000 1.7
@@ -32,6 +32,10 @@
#error "Can't use VR41xx watchdog on processors without a DSU."
#endif
+#ifndef minor
+ #define minor(x) MINOR(x)
+#endif
+
#define DSUMINOVRFLW 0x01 /* DSU Min Overflow Interval */
#define DSUMAXOVRFLW 0x0f /* DSU Max Overflow Interval */
|