ARM: tegra: Only Tegra3 has TSENSOR
Scott Williams [Thu, 1 Sep 2011 21:47:32 +0000 (14:47 -0700)]
Change-Id: I232d3ae5e037d491d1d8d185e75c1c9a7035cd4c
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/50354
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R899f3aaf97ca7f21785749a8675ba1bc461f81f9

arch/arm/mach-tegra/devices.c

index 4f13dc8..06b643b 100644 (file)
@@ -1525,7 +1525,7 @@ struct platform_device tegra_kbc_device = {
        },
 };
 
-#if !defined(CONFIG_ARCH_TEGRA_2x_SOC)
+#if defined(CONFIG_ARCH_TEGRA_3x_SOC)
 static struct resource tegra_tsensor_resources[]= {
        {
                .start  = TEGRA_TSENSOR_BASE,