]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[WATCHDOG] correct sysfs name for watchdog devices
authorOlaf Hering <olh@suse.de>
Wed, 17 Aug 2005 06:58:34 +0000 (08:58 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 3 Sep 2005 11:51:18 +0000 (13:51 +0200)
commit2dab3cabc4b3c1ef53965233dc8a05e0ddeeb38e
tree82dd082d2f40b0e86fac99893ff1ce44c73b635a
parent09c8a9a0c0fe5b3182b6ecfa556fa77a55892c93
[WATCHDOG] correct sysfs name for watchdog devices

While looking for possible candidates for our udev.rules package,
I found a few odd ->name properties. /dev/watchdog has minor 130
according to devices.txt. Since all watchdog drivers use the
misc_register() call, they will end up in /sys/class/misc/$foo.
udev may create the /dev/watchdog node if the driver is loaded.
I dont have such a device, so I cant test it.
The drivers below provide names with spaces and even with / in it.
Not a big deal, but apps may expect /dev/watchdog.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/ixp2000_wdt.c
drivers/char/watchdog/ixp4xx_wdt.c
drivers/char/watchdog/scx200_wdt.c