diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-26 20:45:26 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-08 09:33:13 -0400 |
commit | 43ebbfc39ff0b59047b84827a9f92f4a8ff9bb9b (patch) | |
tree | 090d077042e989089b19d0f086f46e30ef772d52 /arch/arm/mach-keystone/cmd_clock.c | |
parent | 2846bd03eabbb0e4e4c5467519e877ee39d840a2 (diff) |
ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
The KeyStone platform has its own clk_get_rate() but its prototype
is different from that of the common-clk (clk-uclass) framework.
Prefix the KeyStone specific implementation with ks_ in order to
avoid name-space conflict.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-keystone/cmd_clock.c')
-rw-r--r-- | arch/arm/mach-keystone/cmd_clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-keystone/cmd_clock.c b/arch/arm/mach-keystone/cmd_clock.c index 3d5cf3f7f0..06afa72519 100644 --- a/arch/arm/mach-keystone/cmd_clock.c +++ b/arch/arm/mach-keystone/cmd_clock.c @@ -74,7 +74,7 @@ int do_getclk_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) clk = simple_strtoul(argv[1], NULL, 10); - freq = clk_get_rate(clk); + freq = ks_clk_get_rate(clk); if (freq) printf("clock index [%d] - frequency %lu\n", clk, freq); else |