rtc: omap: depend on am33xx
authorAfzal Mohammed <afzal@ti.com>
Tue, 18 Dec 2012 00:02:17 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:20 +0000 (17:15 -0800)
rtc-omap driver can be reused for AM33xx RTC.  Provide dependency in
Kconfig.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Daniel Mack <zonque@gmail.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig

index 19c03ab2bdcb3f2d585c7b38948b5de3bff113c1..4f7ecb683d6b76bb27acb3955e4cfc0f5f14dcc6 100644 (file)
@@ -777,11 +777,13 @@ config RTC_DRV_IMXDI
 
 config RTC_DRV_OMAP
        tristate "TI OMAP1"
-       depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX
+       depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX || SOC_AM33XX
        help
-         Say "yes" here to support the real time clock on TI OMAP1 and
-         DA8xx/OMAP-L13x chips.  This driver can also be built as a
-         module called rtc-omap.
+         Say "yes" here to support the on chip real time clock
+         present on TI OMAP1, AM33xx and DA8xx/OMAP-L13x.
+
+         This driver can also be built as a module, if so, module
+         will be called rtc-omap.
 
 config HAVE_S3C_RTC
        bool