diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-05-27 11:40:09 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-31 23:57:25 +0400 |
commit | 061cec925f212f145516e826f39962624a738ded (patch) | |
tree | 9970b3ebdb3948efcb989f8c1fde1240bbe52dda /drivers/clk/tegra/clk-tegra114.c | |
parent | 9139227d4caef6a8daae8a428f9a4bbb7394ea8b (diff) | |
download | linux-061cec925f212f145516e826f39962624a738ded.tar.xz |
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-tegra114.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra114.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c index 772fc2e53371..86ee05d93eff 100644 --- a/drivers/clk/tegra/clk-tegra114.c +++ b/drivers/clk/tegra/clk-tegra114.c @@ -2033,7 +2033,7 @@ static void __init tegra114_clock_apply_init_table(void) tegra_init_from_table(init_table, clks, clk_max); } -void __init tegra114_clock_init(struct device_node *np) +static void __init tegra114_clock_init(struct device_node *np) { struct device_node *node; int i; @@ -2086,3 +2086,4 @@ void __init tegra114_clock_init(struct device_node *np) tegra_cpu_car_ops = &tegra114_cpu_car_ops; } +CLK_OF_DECLARE(tegra114, "nvidia,tegra114-car", tegra114_clock_init); |