linux/x86: add missing CONFIG_WATCHDOG_CORE to *-wdt
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 3 Aug 2022 14:22:12 +0000 (16:22 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 24 Sep 2022 21:53:53 +0000 (23:53 +0200)
The packages also need a dependency to watchdog core. This commit adds the
needed WATCHDOG_CORE dependency.

https://github.com/torvalds/linux/blob/master/drivers/watchdog/Kconfig

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
target/linux/x86/modules.mk

index 28cb276f7ec481f047cdd463aaf71f780730d888..3173cf9e84978d9137e9b05fc3811d20ac3885f4 100644 (file)
@@ -39,7 +39,9 @@ define KernelPackage/f71808e-wdt
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Fintek F718xx/F818xx Watchdog Timer
   DEPENDS:=@TARGET_x86
-  KCONFIG:=CONFIG_F71808E_WDT
+  KCONFIG:=\
+       CONFIG_F71808E_WDT \
+       CONFIG_WATCHDOG_CORE=y
   FILES:=$(LINUX_DIR)/drivers/watchdog/f71808e_wdt.ko
   AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
 endef
@@ -123,8 +125,10 @@ define KernelPackage/itco-wdt
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Intel iTCO Watchdog Timer
   DEPENDS:=@TARGET_x86
-  KCONFIG:=CONFIG_ITCO_WDT \
-           CONFIG_ITCO_VENDOR_SUPPORT=y
+  KCONFIG:=\
+       CONFIG_ITCO_WDT \
+       CONFIG_ITCO_VENDOR_SUPPORT=y \
+       CONFIG_WATCHDOG_CORE=y
   FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
          $(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
   AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
@@ -178,7 +182,9 @@ define KernelPackage/w83627hf-wdt
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Winbond 83627HF Watchdog Timer
   DEPENDS:=@TARGET_x86
-  KCONFIG:=CONFIG_W83627HF_WDT
+  KCONFIG:=\
+       CONFIG_W83627HF_WDT \
+       ONFIG_WATCHDOG_CORE=y
   FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
   AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
 endef