Merge xburst target.
[10.03/openwrt.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 diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
12 index 3c20dae..930bc4a 100644
13 --- a/drivers/rtc/Kconfig
14 +++ b/drivers/rtc/Kconfig
15 @@ -469,6 +469,17 @@ config RTC_DRV_EFI
16           This driver can also be built as a module. If so, the module
17           will be called rtc-efi.
18  
19 +config RTC_DRV_JZ4740
20 +       tristate "Ingenic JZ4720/JZ4740 SoC"
21 +       depends on RTC_CLASS
22 +       depends on SOC_JZ4740
23 +       help
24 +         If you say yes here you get support for the
25 +         Ingenic JZ4720/JZ4740 SoC RTC controller.
26 +
27 +         This driver can also be buillt as a module. If so, the module
28 +         will be called rtc-jz4740.
29 +
30  config RTC_DRV_STK17TA8
31         tristate "Simtek STK17TA8"
32         depends on RTC_CLASS
33 diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
34 index aa3fbd5..2153d90 100644
35 --- a/drivers/rtc/Makefile
36 +++ b/drivers/rtc/Makefile
37 @@ -44,6 +44,7 @@ obj-$(CONFIG_RTC_DRV_EP93XX)  += rtc-ep93xx.o
38  obj-$(CONFIG_RTC_DRV_FM3130)   += rtc-fm3130.o
39  obj-$(CONFIG_RTC_DRV_GENERIC)  += rtc-generic.o
40  obj-$(CONFIG_RTC_DRV_ISL1208)  += rtc-isl1208.o
41 +obj-$(CONFIG_RTC_DRV_JZ4740)   += rtc-jz4740.o
42  obj-$(CONFIG_RTC_DRV_M41T80)   += rtc-m41t80.o
43  obj-$(CONFIG_RTC_DRV_M41T94)   += rtc-m41t94.o
44  obj-$(CONFIG_RTC_DRV_M48T35)   += rtc-m48t35.o
45 -- 
46 1.5.6.5
47