Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon/sch56xx: Depend on watchdog for watchdog core functions

Since the watchdog code in sch56xx-common now uses the watchdog core, the
Kconfig entires for the sch5627 and sch5636 should depend on WATCHDOG
being set. Also select the watchdog core when we select one of the drivers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Hans de Goede and committed by
Wim Van Sebroeck
2d8c7ff5 bb644913

+4 -2
+4 -2
drivers/hwmon/Kconfig
··· 1036 1036 1037 1037 config SENSORS_SCH5627 1038 1038 tristate "SMSC SCH5627" 1039 - depends on !PPC 1039 + depends on !PPC && WATCHDOG 1040 1040 select SENSORS_SCH56XX_COMMON 1041 + select WATCHDOG_CORE 1041 1042 help 1042 1043 If you say yes here you get support for the hardware monitoring 1043 1044 features of the SMSC SCH5627 Super-I/O chip including support for ··· 1049 1048 1050 1049 config SENSORS_SCH5636 1051 1050 tristate "SMSC SCH5636" 1052 - depends on !PPC 1051 + depends on !PPC && WATCHDOG 1053 1052 select SENSORS_SCH56XX_COMMON 1053 + select WATCHDOG_CORE 1054 1054 help 1055 1055 SMSC SCH5636 Super I/O chips include an embedded microcontroller for 1056 1056 hardware monitoring solutions, allowing motherboard manufacturers to