From: Petr Štetiar Date: Thu, 5 Mar 2020 11:46:21 +0000 (+0100) Subject: armvirt: fix missing watchdog core dependency for hwmon-sch5627 X-Git-Tag: v21.02.0-rc1~3530 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f6cb82329bc0e0039b38465994032b4a3cf7f49f;p=openwrt%2Fopenwrt.git armvirt: fix missing watchdog core dependency for hwmon-sch5627 Fixes following error uncovered while building armvirt/64 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. Signed-off-by: Petr Štetiar --- diff --git a/target/linux/armvirt/config-5.4 b/target/linux/armvirt/config-5.4 index 843b3845b2..71ddc30197 100644 --- a/target/linux/armvirt/config-5.4 +++ b/target/linux/armvirt/config-5.4 @@ -240,4 +240,5 @@ CONFIG_VIRTIO_MMIO=y CONFIG_VIRTIO_NET=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_PCI_LEGACY=y +CONFIG_WATCHDOG_CORE=y CONFIG_XPS=y