aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-29 15:08:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-29 15:08:23 +0000
commit5528e0b0083597fec12c4de95c46f0e00cb2d6a4 (patch)
treee1822f5ff1040d1f6bf6ac7e5a3c4753f786c78d
parent55fdc18beb870af93c9f3a60460484862c39c3b5 (diff)
downloadupstream-5528e0b0083597fec12c4de95c46f0e00cb2d6a4.tar.gz
upstream-5528e0b0083597fec12c4de95c46f0e00cb2d6a4.tar.bz2
upstream-5528e0b0083597fec12c4de95c46f0e00cb2d6a4.zip
package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> SVN-Revision: 31526
-rw-r--r--package/kernel/modules/other.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d6eab58704..0a467f92fd 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)