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-tegra30.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-tegra30.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra30.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index a11a7d9633d4..b62e140b9376 100644 --- a/drivers/clk/tegra/clk-tegra30.c +++ b/drivers/clk/tegra/clk-tegra30.c @@ -1953,7 +1953,7 @@ static const struct of_device_id pmc_match[] __initconst = { {}, }; -void __init tegra30_clock_init(struct device_node *np) +static void __init tegra30_clock_init(struct device_node *np) { struct device_node *node; int i; @@ -2004,3 +2004,4 @@ void __init tegra30_clock_init(struct device_node *np) tegra_cpu_car_ops = &tegra30_cpu_car_ops; } +CLK_OF_DECLARE(tegra30, "nvidia,tegra30-car", tegra30_clock_init); |