From 74f19e787b468fd9c6ee37b5f01b85ee8a5642e8 Mon Sep 17 00:00:00 2001 From: Amit Kamath Date: Wed, 22 Dec 2010 16:09:45 +0530 Subject: 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 Reviewed-by: Bharat Nihalani Tested-by: Bharat Nihalani --- drivers/rtc/Kconfig | 1 - drivers/rtc/rtc-tegra.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/rtc') 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"); -- cgit v1.2.3