From: Olaf Hering Date: Wed, 17 Aug 2005 06:58:34 +0000 (+0200) Subject: [WATCHDOG] correct sysfs name for watchdog devices X-Git-Tag: v2.6.14-rc1~771^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dab3cabc4b3c1ef53965233dc8a05e0ddeeb38e;p=pandora-kernel.git [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 Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed