Author: nbd
Date: 2016-01-22 13:02:11 +0100 (Fri, 22 Jan 2016)
New Revision: 48454

Modified:
   trunk/package/kernel/linux/modules/other.mk
Log:
kernel: Add kernel module for Freescale SNVS RTC on chip module

Signed-off-by: Petr ?\197?\160tetiar <[email protected]>

Modified: trunk/package/kernel/linux/modules/other.mk
===================================================================
--- trunk/package/kernel/linux/modules/other.mk 2016-01-22 12:02:07 UTC (rev 
48453)
+++ trunk/package/kernel/linux/modules/other.mk 2016-01-22 12:02:11 UTC (rev 
48454)
@@ -666,7 +666,23 @@
 
 $(eval $(call KernelPackage,rtc-pt7c4338))
 
+define KernelPackage/rtc-snvs
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Freescale SNVS RTC support
+  DEPENDS:=@TARGET_imx6 @RTC_SUPPORT
+  KCONFIG:=CONFIG_RTC_DRV_SNVS \
+       CONFIG_RTC_CLASS=y
+  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-snvs.ko
+  AUTOLOAD:=$(call AutoLoad,50,rtc-snvs,1)
+endef
 
+define KernelPackage/rtc-snvs/description
+ Kernel module for Freescale SNVS RTC on chip module
+endef
+
+$(eval $(call KernelPackage,rtc-snvs))
+
+
 define KernelPackage/mtdtests
   SUBMENU:=$(OTHER_MENU)
   TITLE:=MTD subsystem tests
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to