diff options
author | Amit Kamath <akamath@nvidia.com> | 2010-12-22 16:09:45 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2010-12-23 01:11:46 -0800 |
commit | 74f19e787b468fd9c6ee37b5f01b85ee8a5642e8 (patch) | |
tree | 23a78f35e5a1c313c4cbf52b6660573dfea844ab | |
parent | c1e7dd730c5d2aab3f85f8ce37b4d47e75314d1f (diff) |
ARM: tegra: rtc: set disabled by default
Cleanup comment.
Change config.
Change-Id: I33ec8d70230672993129e89675aada016286b065
Reviewed-on: http://git-master/r/14080
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r-- | drivers/rtc/Kconfig | 1 | ||||
-rw-r--r-- | drivers/rtc/rtc-tegra.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 326e8b7193b2..350750d60fea 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -252,7 +252,6 @@ config RTC_DRV_X1205 config RTC_DRV_TEGRA tristate "NVIDIA Tegra Internal RTC driver" depends on ARCH_TEGRA - default RTC_CLASS help If you say yes here you get support for the Tegra 200 series internal RTC module. diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c index 68eeaeca5228..f5cccd65a12c 100644 --- a/drivers/rtc/rtc-tegra.c +++ b/drivers/rtc/rtc-tegra.c @@ -328,7 +328,6 @@ static int __init tegra_rtc_probe(struct platform_device *pdev) struct resource *res; int ret; - /* get resources from arch/arm/mach-tegra/board-nvodm.c */ res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!res) { dev_err( @@ -441,7 +440,6 @@ static void tegra_rtc_shutdown(struct platform_device *pdev) tegra_rtc_alarm_irq_enable(&pdev->dev, 0); } -MODULE_ALIAS("platform:tegra_rtc"); static struct platform_driver tegra_rtc_driver = { .remove = __devexit_p(tegra_rtc_remove), .shutdown = tegra_rtc_shutdown, @@ -467,6 +465,7 @@ static void __exit tegra_rtc_exit(void) } module_exit(tegra_rtc_exit); +MODULE_ALIAS("platform:tegra_rtc"); MODULE_AUTHOR("NVIDIA Corporation"); MODULE_DESCRIPTION("driver for Tegra internal RTC"); MODULE_LICENSE("GPL"); |