• Olaf Hering's avatar
    [WATCHDOG] correct sysfs name for watchdog devices · 2dab3cab
    Olaf Hering authored
    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: default avatarOlaf Hering <olh@suse.de>
    Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
    2dab3cab
ixp4xx_wdt.c 4.59 KB