ARM: PMC: tegra12: enable IO DPD function for T124
Terry Wang [Thu, 29 Aug 2013 06:36:08 +0000 (14:36 +0800)]
Enable PMC IO DPD function for T124.

Bug 1352773

Change-Id: I18387f8054957745bf3f7de70e9e5fa4ce581cb7
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/267755
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hunk Lin <hulin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

arch/arm/mach-tegra/pm-t3.c

index b81d392..4134f2f 100644 (file)
@@ -699,9 +699,7 @@ static struct tegra_io_dpd tegra_list_io_dpd[] = {
 /* we want to cleanup bootloader io dpd setting in kernel */
 static void __iomem *pmc = IO_ADDRESS(TEGRA_PMC_BASE);
 
-/* FIXME! remove !t12x after t12x added dpd */
-#if defined(CONFIG_PM_SLEEP) && \
-       !defined(CONFIG_ARCH_TEGRA_12x_SOC)
+#if defined CONFIG_PM_SLEEP
 struct tegra_io_dpd *tegra_io_dpd_get(struct device *dev)
 {
 #ifdef CONFIG_TEGRA_IO_DPD