diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-05-27 09:40:09 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-31 21:57:25 +0200 |
commit | 061cec925f212f145516e826f39962624a738ded (patch) | |
tree | 9970b3ebdb3948efcb989f8c1fde1240bbe52dda /drivers/clk/tegra/clk-tegra20.c | |
parent | clk: tegra114: correctly output clk_32k (diff) | |
download | linux-061cec925f212f145516e826f39962624a738ded.tar.xz linux-061cec925f212f145516e826f39962624a738ded.zip |
clk: tegra: Use common of_clk_init function
Use common of_clk_init() function for clocks initialization.
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra20.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra20.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c index 075db0c99edb..759ca47be753 100644 --- a/drivers/clk/tegra/clk-tegra20.c +++ b/drivers/clk/tegra/clk-tegra20.c @@ -1287,7 +1287,7 @@ static const struct of_device_id pmc_match[] __initconst = { {}, }; -void __init tegra20_clock_init(struct device_node *np) +static void __init tegra20_clock_init(struct device_node *np) { int i; struct device_node *node; @@ -1339,3 +1339,4 @@ void __init tegra20_clock_init(struct device_node *np) tegra_cpu_car_ops = &tegra20_cpu_car_ops; } +CLK_OF_DECLARE(tegra20, "nvidia,tegra20-car", tegra20_clock_init); |