• Hans de Goede's avatar
    hwmon: (sch56xx) Add support for the integrated watchdog (v2) · 312869ec
    Hans de Goede authored
    
    
    Add support for the watchdog integrated into the SMSC SCH5627 and
    SCH5636 superio-s. Since the watchdog is part of the hwmon logical device
    and thus shares ioports with it, the watchdog driver is integrated into the
    existing hwmon drivers for these.
    
    Note that this version of the watchdog support for sch56xx superio-s
    implements the watchdog chardev interface itself, rather then relying on
    the recently added watchdog core / watchdog_dev. This is done because
    currently some needed functionality is missing from watchdog_dev, as soon
    as this functionality is added (which is being discussed on the
    linux-watchdog mailinglist), I'll convert this driver over to using
    watchdog_dev.
    
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    [guenter.roeck@ericsson.com: Added missing linux/slab.h include]
    Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
    312869ec