rtc: tegra: Use new Tegra platform types.
Yudong Tan [Mon, 13 Jun 2011 20:14:34 +0000 (13:14 -0700)]
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>

Rebase-Id: Rb4c122fc6b87240fc5a14f1addb4d22e121a84a7

drivers/rtc/rtc-tegra.c

index da28666..773adff 100644 (file)
@@ -377,7 +377,7 @@ static int __devinit 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;