diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-05-24 16:18:58 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 01:56:20 -0400 |
commit | 2d8c7ff52c2459a25034ac8ddc230e67cc0e2b67 (patch) | |
tree | c2333984a23e9834c6924879b6b3565ada2722e1 /drivers/hwmon/Kconfig | |
parent | bb644913a7d6dabcc4a1640817fa7b68938a56eb (diff) |
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>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 7cd9bf42108b..6f1d167cb1ea 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -1036,8 +1036,9 @@ config SENSORS_SCH56XX_COMMON | |||
1036 | 1036 | ||
1037 | config SENSORS_SCH5627 | 1037 | config SENSORS_SCH5627 |
1038 | tristate "SMSC SCH5627" | 1038 | tristate "SMSC SCH5627" |
1039 | depends on !PPC | 1039 | depends on !PPC && WATCHDOG |
1040 | select SENSORS_SCH56XX_COMMON | 1040 | select SENSORS_SCH56XX_COMMON |
1041 | select WATCHDOG_CORE | ||
1041 | help | 1042 | help |
1042 | If you say yes here you get support for the hardware monitoring | 1043 | If you say yes here you get support for the hardware monitoring |
1043 | features of the SMSC SCH5627 Super-I/O chip including support for | 1044 | features of the SMSC SCH5627 Super-I/O chip including support for |
@@ -1048,8 +1049,9 @@ config SENSORS_SCH5627 | |||
1048 | 1049 | ||
1049 | config SENSORS_SCH5636 | 1050 | config SENSORS_SCH5636 |
1050 | tristate "SMSC SCH5636" | 1051 | tristate "SMSC SCH5636" |
1051 | depends on !PPC | 1052 | depends on !PPC && WATCHDOG |
1052 | select SENSORS_SCH56XX_COMMON | 1053 | select SENSORS_SCH56XX_COMMON |
1054 | select WATCHDOG_CORE | ||
1053 | help | 1055 | help |
1054 | SMSC SCH5636 Super I/O chips include an embedded microcontroller for | 1056 | SMSC SCH5636 Super I/O chips include an embedded microcontroller for |
1055 | hardware monitoring solutions, allowing motherboard manufacturers to | 1057 | hardware monitoring solutions, allowing motherboard manufacturers to |