ARM: shmobile: ape6evm: Disable legacy clock initialization
Disables r8a73a4_clock_init() if CCF is enabled. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
a76809a329
commit
ccc83dce9d
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
static void __init ape6evm_add_standard_devices(void)
|
static void __init ape6evm_add_standard_devices(void)
|
||||||
{
|
{
|
||||||
|
#ifndef CONFIG_COMMON_CLK
|
||||||
struct clk *parent;
|
struct clk *parent;
|
||||||
struct clk *mp;
|
struct clk *mp;
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ static void __init ape6evm_add_standard_devices(void)
|
||||||
clk_set_parent(mp, parent);
|
clk_set_parent(mp, parent);
|
||||||
clk_put(parent);
|
clk_put(parent);
|
||||||
clk_put(mp);
|
clk_put(mp);
|
||||||
|
#endif
|
||||||
|
|
||||||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue