diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-01-04 11:00:55 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-01-24 23:12:46 +0400 |
commit | d34bcdeb43331f87acf21423df26a8567c07de67 (patch) | |
tree | 3d0a07ea86ad739e87941fdc9ad5c30b5a8f8187 /arch/arm/mach-highbank/highbank.c | |
parent | 85a181986c9cf8bbd2c4f2fb6f2add7ac5db1f76 (diff) | |
download | linux-d34bcdeb43331f87acf21423df26a8567c07de67.tar.xz |
clk: highbank: Use common of_clk_init() function
Use common of_clk_init() function for clocks initialization.
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch/arm/mach-highbank/highbank.c')
-rw-r--r-- | arch/arm/mach-highbank/highbank.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 981dc1e1da51..f710f163fb50 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c @@ -25,6 +25,7 @@ #include <linux/of_address.h> #include <linux/smp.h> #include <linux/amba/bus.h> +#include <linux/clk-provider.h> #include <asm/arch_timer.h> #include <asm/cacheflush.h> @@ -116,7 +117,7 @@ static void __init highbank_timer_init(void) WARN_ON(!timer_base); irq = irq_of_parse_and_map(np, 0); - highbank_clocks_init(); + of_clk_init(NULL); lookup.clk = of_clk_get(np, 0); clkdev_add(&lookup); |