malta: fix missing watchdog core dependency for hwmon-sch5627
authorPetr Štetiar <ynezz@true.cz>
Thu, 5 Mar 2020 11:46:21 +0000 (12:46 +0100)
committerYousong Zhou <yszhou4tech@gmail.com>
Tue, 10 Mar 2020 02:10:13 +0000 (10:10 +0800)
commite546e6252bb13dd6cc39412867bd542bf4be2d6f
tree2d7326cedf3c76858a20446a3bc9883b7bd145e2
parente11a5804fa407d37a087cebbedfa1dcfba30990f
malta: fix missing watchdog core dependency for hwmon-sch5627

Fixes following error uncovered while building malta/be on 5.4:

 Package kmod-hwmon-sch5627 is missing dependencies for the following libraries:
 watchdog.ko

That dependency was introduced in upstream via 2d8c7ff52c24
("hwmon/sch56xx: Depend on watchdog for watchdog core functions") in
v3.5.

The issue emerged in 5.4 because the kconfig symbol CONFIG_WATCHDOG_CORE
is now a tristate value.  Previously it was a bool

Cc: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(drop the config-4.19 change.  reword about the cause)
target/linux/malta/config-5.4