ARM: zynq: Move clock_init from slcr to common

Preparation step for next changes.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Steffen Trumtrar 2013-06-25 22:05:24 +02:00 committed by Michal Simek
parent 3795e91d2a
commit 6f69c7f21c
2 changed files with 2 additions and 2 deletions

View File

@ -64,6 +64,8 @@ static void __init zynq_init_machine(void)
static void __init zynq_timer_init(void)
{
zynq_slcr_init();
zynq_clock_init(zynq_slcr_base);
clocksource_of_init();
}

View File

@ -106,8 +106,6 @@ int __init zynq_slcr_init(void)
pr_info("%s mapped to %p\n", np->name, zynq_slcr_base);
zynq_clock_init(zynq_slcr_base);
of_node_put(np);
return 0;