From 513dff3cca9a8f800c63ccda7a4d0a168f48a814 Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Mon, 9 Jan 2017 17:18:21 -0700 Subject: [PATCH] kernel: add w83627hf-wdt watchdog timer module This is a 3rd party chipset which is not present on all Intel reference designs, so make it a module rather than baked in (this will also alleviate conflicts with drivers which also detect some of the same chipsets). Signed-off-by: Philip Prindeville --- package/kernel/linux/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 8ea435ed848..b8b22411b2f 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -1018,3 +1018,18 @@ define KernelPackage/tpm-i2c-infineon/description endef $(eval $(call KernelPackage,tpm-i2c-infineon)) + + +define KernelPackage/w83627hf-wdt + SUBMENU:=$(OTHER_MENU) + TITLE:=Winbond 83627HF Watchdog Timer + KCONFIG:=CONFIG_W83627HF_WDT + FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/w83627hf_wdt.ko + AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1) +endef + +define KernelPackage/w83627hf-wdt/description + Kernel module for Winbond 83627HF Watchdog Timer +endef + +$(eval $(call KernelPackage,w83627hf-wdt))