From: Philip Prindeville Date: Tue, 10 Jan 2017 00:18:21 +0000 (-0700) Subject: kernel: add w83627hf-wdt watchdog timer module X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=513dff3cca9a8f800c63ccda7a4d0a168f48a814;p=openwrt%2Fstaging%2Fzorun.git 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 --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 8ea435ed84..b8b22411b2 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))