[backfire] target/xburst: backport r20701
[openwrt-10.03/.git] / target / linux / xburst / patches-2.6.32 / 052-rtc.patch
1 From 2ec88eb0d3d2c877eff811901215390708dd03b9 Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Mon, 11 Jan 2010 04:29:39 +0100
4 Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/052-rtc.patch
5
6 ---
7  drivers/rtc/Kconfig  |   11 +++++++++++
8  drivers/rtc/Makefile |    1 +
9  2 files changed, 12 insertions(+), 0 deletions(-)
10
11 --- a/drivers/rtc/Kconfig
12 +++ b/drivers/rtc/Kconfig
13 @@ -469,6 +469,17 @@ config RTC_DRV_EFI
14           This driver can also be built as a module. If so, the module
15           will be called rtc-efi.
16  
17 +config RTC_DRV_JZ4740
18 +       tristate "Ingenic JZ4720/JZ4740 SoC"
19 +       depends on RTC_CLASS
20 +       depends on SOC_JZ4740
21 +       help
22 +         If you say yes here you get support for the
23 +         Ingenic JZ4720/JZ4740 SoC RTC controller.
24 +
25 +         This driver can also be buillt as a module. If so, the module
26 +         will be called rtc-jz4740.
27 +
28  config RTC_DRV_STK17TA8
29         tristate "Simtek STK17TA8"
30         depends on RTC_CLASS
31 --- a/drivers/rtc/Makefile
32 +++ b/drivers/rtc/Makefile
33 @@ -44,6 +44,7 @@ obj-$(CONFIG_RTC_DRV_EP93XX)  += rtc-ep93
34  obj-$(CONFIG_RTC_DRV_FM3130)   += rtc-fm3130.o
35  obj-$(CONFIG_RTC_DRV_GENERIC)  += rtc-generic.o
36  obj-$(CONFIG_RTC_DRV_ISL1208)  += rtc-isl1208.o
37 +obj-$(CONFIG_RTC_DRV_JZ4740)   += rtc-jz4740.o
38  obj-$(CONFIG_RTC_DRV_M41T80)   += rtc-m41t80.o
39  obj-$(CONFIG_RTC_DRV_M41T94)   += rtc-m41t94.o
40  obj-$(CONFIG_RTC_DRV_M48T35)   += rtc-m48t35.o