summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtul Dahiya <atul.dahiya@samsung.com>2010-07-20 13:01:32 +0200
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 11:32:51 +0200
commit9bbf4a634a30c2b289fa119dd3193fbb5f444c70 (patch)
tree5bf1b3b7024feffb0c38c81f9227878e9969055a
parentrtc: rtc-s3c: Add BCD register initialization codes (diff)
downloadlinux-9bbf4a634a30c2b289fa119dd3193fbb5f444c70.tar.xz
linux-9bbf4a634a30c2b289fa119dd3193fbb5f444c70.zip
ARM: S3C64XX: Add RTC support for S3C64XX
This patch adds support for RTC for SMDK6410. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-s3c64xx/Kconfig1
-rw-r--r--arch/arm/mach-s3c64xx/mach-smdk6410.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig
index 12f063b12569..3b632e4ec1a6 100644
--- a/arch/arm/mach-s3c64xx/Kconfig
+++ b/arch/arm/mach-s3c64xx/Kconfig
@@ -102,6 +102,7 @@ config MACH_SMDK6410
select S3C_DEV_I2C1
select SAMSUNG_DEV_IDE
select S3C_DEV_FB
+ select S3C_DEV_RTC
select SAMSUNG_DEV_TS
select S3C_DEV_USB_HOST
select S3C_DEV_USB_HSOTG
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index 0d7d93fbc43b..7fd38e9dcfca 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -271,6 +271,7 @@ static struct platform_device *smdk6410_devices[] __initdata = {
&smdk6410_smsc911x,
&s3c_device_adc,
&s3c_device_cfcon,
+ &s3c_device_rtc,
&s3c_device_ts,
&s3c_device_wdt,
};