ARM: tegra: initialize hotplug for T12x
Eric Miao [Fri, 6 Sep 2013 11:26:42 +0000 (19:26 +0800)]
Bug 1360967
Bug 1360842

Change-Id: If2bfa4b0ff370d2383cd368351627fde1bad89ae
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/271474
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/hotplug.c

index e8ba66b..08b24ed 100644 (file)
@@ -960,6 +960,7 @@ void __init tegra12x_init_early(void)
        tegra_init_cache(true);
        tegra_pmc_init();
        tegra_powergate_init();
+       tegra30_hotplug_init();
        tegra_init_power();
        tegra_init_ahb_gizmo_settings();
        tegra_init_debug_uart_rate();
index dbafc36..52ced7f 100644 (file)
@@ -68,7 +68,9 @@ void __init tegra20_hotplug_init(void)
 }
 #endif
 
-#if defined(CONFIG_ARCH_TEGRA_3x_SOC) || defined(CONFIG_ARCH_TEGRA_11x_SOC) || \
+#if defined(CONFIG_ARCH_TEGRA_3x_SOC) || \
+    defined(CONFIG_ARCH_TEGRA_11x_SOC) || \
+    defined(CONFIG_ARCH_TEGRA_12x_SOC) || \
     defined(CONFIG_ARCH_TEGRA_14x_SOC)
 extern void tegra30_hotplug_shutdown(void);
 void __init tegra30_hotplug_init(void)