All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Watchdog device node name unification
@ 2005-08-13 21:36 Henrik Brix Andersen
  2005-08-13 21:53 ` Henrik Brix Andersen
  2005-08-13 23:25 ` Christoph Hellwig
  0 siblings, 2 replies; 15+ messages in thread
From: Henrik Brix Andersen @ 2005-08-13 21:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

Here's a patch for unifying the watchdog device node name
to /dev/watchdog as expected by most user-space applications.

Please CC: me on replies as I am not subscribed to LKML.


Signed-off-by: Henrik Brix Andersen <brix@gentoo.org>


diff -urp linux-2.6.13-rc6/drivers/char/watchdog/ixp2000_wdt.c linux-2.6.13-rc6-watchdog/drivers/char/watchdog/ixp2000_wdt.c
--- linux-2.6.13-rc6/drivers/char/watchdog/ixp2000_wdt.c	2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6.13-rc6-watchdog/drivers/char/watchdog/ixp2000_wdt.c	2005-08-13 23:10:22.000000000 +0200
@@ -186,7 +186,7 @@ static struct file_operations ixp2000_wd
 static struct miscdevice ixp2000_wdt_miscdev =
 {
 	.minor		= WATCHDOG_MINOR,
-	.name		= "IXP2000 Watchdog",
+	.name		= "watchdog",
 	.fops		= &ixp2000_wdt_fops,
 };
 
diff -urp linux-2.6.13-rc6/drivers/char/watchdog/ixp4xx_wdt.c linux-2.6.13-rc6-watchdog/drivers/char/watchdog/ixp4xx_wdt.c
--- linux-2.6.13-rc6/drivers/char/watchdog/ixp4xx_wdt.c	2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6.13-rc6-watchdog/drivers/char/watchdog/ixp4xx_wdt.c	2005-08-13 23:10:33.000000000 +0200
@@ -180,7 +180,7 @@ static struct file_operations ixp4xx_wdt
 static struct miscdevice ixp4xx_wdt_miscdev =
 {
 	.minor		= WATCHDOG_MINOR,
-	.name		= "IXP4xx Watchdog",
+	.name		= "watchdog",
 	.fops		= &ixp4xx_wdt_fops,
 };
 
diff -urp linux-2.6.13-rc6/drivers/char/watchdog/sa1100_wdt.c linux-2.6.13-rc6-watchdog/drivers/char/watchdog/sa1100_wdt.c
--- linux-2.6.13-rc6/drivers/char/watchdog/sa1100_wdt.c	2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6.13-rc6-watchdog/drivers/char/watchdog/sa1100_wdt.c	2005-08-13 23:14:05.000000000 +0200
@@ -176,7 +176,7 @@ static struct file_operations sa1100dog_
 static struct miscdevice sa1100dog_miscdev =
 {
 	.minor		= WATCHDOG_MINOR,
-	.name		= "SA1100/PXA2xx watchdog",
+	.name		= "watchdog",
 	.fops		= &sa1100dog_fops,
 };
 
diff -urp linux-2.6.13-rc6/drivers/char/watchdog/scx200_wdt.c linux-2.6.13-rc6-watchdog/drivers/char/watchdog/scx200_wdt.c
--- linux-2.6.13-rc6/drivers/char/watchdog/scx200_wdt.c	2005-06-17 21:48:29.000000000 +0200
+++ linux-2.6.13-rc6-watchdog/drivers/char/watchdog/scx200_wdt.c	2005-08-13 23:14:33.000000000 +0200
@@ -210,7 +210,7 @@ static struct file_operations scx200_wdt
 
 static struct miscdevice scx200_wdt_miscdev = {
 	.minor = WATCHDOG_MINOR,
-	.name  = NAME,
+	.name  = "watchdog",
 	.fops  = &scx200_wdt_fops,
 };
 

-- 
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Metadistribution | Mobile computing herd


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-08-29 11:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-13 21:36 [PATCH] Watchdog device node name unification Henrik Brix Andersen
2005-08-13 21:53 ` Henrik Brix Andersen
2005-08-13 22:21   ` Linus Torvalds
2005-08-13 22:30     ` Henrik Brix Andersen
2005-08-29 10:32     ` Henrik Brix Andersen
2005-08-29 11:13       ` Christoph Hellwig
2005-08-13 23:15   ` Olaf Hering
2005-08-13 23:25 ` Christoph Hellwig
2005-08-13 23:43   ` Olaf Hering
2005-08-14  0:22     ` Henrik Brix Andersen
2005-08-14  8:47       ` Christoph Hellwig
2005-08-18 14:23         ` Chris Wedgwood
2005-08-14  3:02     ` Chris Wedgwood
2005-08-14  9:03       ` Olaf Hering
2005-08-14  9:06         ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.