From 854a591dbd149a9466b76e1d5e4bd40fdcfcd54e Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 29 Apr 2012 15:08:23 +0000 Subject: [PATCH] package/kernel: add module for the Pericom PT7C4338 RTC chip Signed-off-by: Wojciech Dubowik git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index d6eab5870..0a467f92f 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -828,6 +828,20 @@ endef $(eval $(call KernelPackage,rtc-pcf2123)) +define KernelPackage/rtc-pt7c4338 + SUBMENU:=$(OTHER_MENU) + TITLE:=Pericom PT7C4338 RTC support + $(call AddDepends/rtc,+kmod-i2c-core) + KCONFIG:=CONFIG_RTC_DRV_PT7C4338 + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko + AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338) +endef + +define KernelPackage/rtc-pt7c4338/description + Kernel module for Pericom PT7C4338 i2c RTC chip. +endef + +$(eval $(call KernelPackage,rtc-pt7c4338)) define KernelPackage/n810bm SUBMENU:=$(OTHER_MENU)