ARM: shmobile: Introduce shmobile_clk_workaround()
authorMagnus Damm <damm@opensource.se>
Wed, 12 Mar 2014 23:36:17 +0000 (08:36 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 14 Apr 2014 02:30:11 +0000 (11:30 +0900)
commit25f5550f5a4b18fd77a2e719ba63cb34931ab66a
tree134410e2b2c6e2f26c545dc5bf3bb31539c7046a
parentedcf139081f501b1468ae6665217e8320d4c75e8
ARM: shmobile: Introduce shmobile_clk_workaround()

Introduce a new clock workaround function used by DT reference
code on the mach-shmobile subarchitecture. The new function
shmobile_clk_workaround() is used to configure clkdev to
allow DT and platform devices to coexist. It is possible for
the DT reference board code to also request enabling of the clock
in case the driver does not implement clock control.

Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: Removed trailing blank line]
Reviewed-by: Wolfram Sang <wsa@sang-engineering.com>
Tested-by: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/clock.c
arch/arm/mach-shmobile/include/mach/clock.h