patch-2.1.79 linux/drivers/char/softdog.c

Next file: linux/drivers/char/videodev.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/drivers/char/softdog.c linux/drivers/char/softdog.c
@@ -37,7 +37,6 @@
 #include <linux/init.h>
 #include <asm/uaccess.h>
 
-#define WATCHDOG_MINOR	130
 #define TIMER_MARGIN	60		/* (secs) Default is 1 minute */
 
 static int soft_margin = TIMER_MARGIN;	/* in seconds */
@@ -177,7 +176,7 @@
 static struct miscdevice softdog_miscdev=
 {
 	WATCHDOG_MINOR,
-	"softdog",
+	"watchdog",
 	&softdog_fops
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov