summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk.h
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2013-01-11 08:46:25 +0100
committerStephen Warren <swarren@nvidia.com>2013-01-28 19:19:07 +0100
commitb08e8c0ecc42afa3a2e1019851af741980dd5a6b (patch)
tree1be04d04daec60704866782591d1bdc3da10cc6a /drivers/clk/tegra/clk.h
parentclk: tegra: add clock support for Tegra20 (diff)
downloadlinux-b08e8c0ecc42afa3a2e1019851af741980dd5a6b.tar.xz
linux-b08e8c0ecc42afa3a2e1019851af741980dd5a6b.zip
clk: tegra: add clock support for Tegra30
Add Tegra30 clock support based on common clock framework. Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> [swarren: ensure all OF lookups return valid cookies i.e. an explicit error pointer or valid pointer not NULL, adapt to renames in earlier patches, fixed some checkpatch issues.] Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk.h')
-rw-r--r--drivers/clk/tegra/clk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/tegra/clk.h b/drivers/clk/tegra/clk.h
index 82835f24533c..0744731c6229 100644
--- a/drivers/clk/tegra/clk.h
+++ b/drivers/clk/tegra/clk.h
@@ -493,4 +493,10 @@ void tegra20_clock_init(struct device_node *np);
static inline void tegra20_clock_init(struct device_node *np) {}
#endif /* CONFIG_ARCH_TEGRA_2x_SOC */
+#ifdef CONFIG_ARCH_TEGRA_3x_SOC
+void tegra30_clock_init(struct device_node *np);
+#else
+static inline void tegra30_clock_init(struct device_node *np) {}
+#endif /* CONFIG_ARCH_TEGRA_3x_SOC */
+
#endif /* TEGRA_CLK_H */