aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2012-08-06 11:57:42 +0530
committerStephen Warren <swarren@nvidia.com>2012-09-06 11:47:20 -0600
commit96a1bd1e11ade7be969d275edd4c06749684cdba (patch)
treed76dde0eb30d5dab8cb81ad8d27fc5554e0cbe03 /arch/arm/mach-tegra/common.c
parentARM: tegra: Rename tegra20 clock file (diff)
downloadlinux-dev-96a1bd1e11ade7be969d275edd4c06749684cdba.tar.xz
linux-dev-96a1bd1e11ade7be969d275edd4c06749684cdba.zip
ARM: tegra: Add clk_tegra structure and helper functions
Add Tegra platform specific clock structure clk_tegra and some helper functions for generic clock framework. struct clk_tegra is the single strcture used for all types of clocks. reset and cfg_ex ops moved to clk_tegra from clk_ops. Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 96fef6bcc651..ef7d6f3cff82 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -152,6 +152,8 @@ void __init tegra30_init_early(void)
void __init tegra_init_late(void)
{
+#ifndef CONFIG_COMMON_CLK
tegra_clk_debugfs_init();
+#endif
tegra_powergate_debugfs_init();
}