From: Pawel Dembicki Date: Fri, 24 Jan 2020 06:25:54 +0000 (+0100) Subject: kernel: add package for Seiko S-35390A I2C RTC X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9c99187e616ac54aed572a0eb310aadd06ac8e4b;p=openwrt%2Fstaging%2Fdangole.git kernel: add package for Seiko S-35390A I2C RTC This patch adds kernel package for Seiko Instruments S-35390A. Signed-off-by: Pawel Dembicki --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 15d67b4679..f74c622ed7 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -732,6 +732,23 @@ endef $(eval $(call KernelPackage,rtc-rx8025)) +define KernelPackage/rtc-s35390a + SUBMENU:=$(OTHER_MENU) + TITLE:=Seico S-35390A + DEFAULT:=m if ALL_KMODS && RTC_SUPPORT + DEPENDS:=+kmod-i2c-core + KCONFIG:=CONFIG_RTC_DRV_S35390A \ + CONFIG_RTC_CLASS=y + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-s35390a.ko + AUTOLOAD:=$(call AutoLoad,50,rtc-s35390a,1) +endef + +define KernelPackage/rtc-s35390a/description + Kernel module for Seiko Instruments S-35390A I2C RTC chip +endef + +$(eval $(call KernelPackage,rtc-s35390a)) + define KernelPackage/mtdtests SUBMENU:=$(OTHER_MENU)