rockchip: rk3036: Move rockchip_get_cru() out of the driver
authorSimon Glass <sjg@chromium.org>
Sun, 2 Oct 2016 02:04:50 +0000 (20:04 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 30 Oct 2016 19:29:06 +0000 (13:29 -0600)
commit92ac73e4c2579444ee5017f37aa61e116ccf15c9
treeb4bc58e9ca001fdcf7392892516672d93a346e6d
parent8dfb4a28f5645874d9b47cffe44055a3a71ca78b
rockchip: rk3036: Move rockchip_get_cru() out of the driver

This function is called from outside the driver. It should be placed into
common SoC code. Move it.

Also rename the driver symbol to be more consistent with the other rockchip
clock drivers.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/cru_rk3036.h
arch/arm/mach-rockchip/rk3036/Makefile
arch/arm/mach-rockchip/rk3036/clk_rk3036.c [new file with mode: 0644]
drivers/clk/rockchip/clk_rk3036.c