summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYudong Tan <ytan@nvidia.com>2011-06-13 13:14:34 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-07-11 16:56:20 -0700
commit723c947875eaf70538cab22c41342b90b4cdb710 (patch)
tree8f5964910d3e1197b0f750ccc99a4f42251ff947 /drivers
parentb44a26315d0ffc445fcf529aed9bc192b933211c (diff)
rtc: tegra: Use new Tegra platform types.
This change is needed to support three platforms, silicon, fpga and simulation. Change-Id: I1e132fd744e1fe716c3098b117e38e3c77678b49 Reviewed-on: http://git-master/r/36352 Reviewed-by: Mark Stadler <mastadler@nvidia.com> Tested-by: Yudong Tan <ytan@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c
index fe48d463b6f3..a11e0dc628da 100644
--- a/drivers/rtc/rtc-tegra.c
+++ b/drivers/rtc/rtc-tegra.c
@@ -373,7 +373,7 @@ static int __init tegra_rtc_probe(struct platform_device *pdev)
dev_notice(&pdev->dev, "Tegra internal Real Time Clock\n");
-#ifdef CONFIG_TEGRA_FPGA_PLATFORM
+#ifndef CONFIG_TEGRA_SILICON_PLATFORM
{
struct rtc_time tm;