ARM: shmobile: r8a7779: Move r8a7779_earlytimer_init to clock-r8a7779.c
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 15 May 2014 11:32:02 +0000 (20:32 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:49 +0000 (09:24 +0900)
commit115585756804b1eedf712a296d918e8cbe0ea337
tree5b230f97c4755cb81322bb0b359117c6c8ad663d
parentee66d15aab41fb794d21c0b5a5afffd6cbc14d08
ARM: shmobile: r8a7779: Move r8a7779_earlytimer_init to clock-r8a7779.c

r8a7779_earlytimer_init() calls r8a7779_clock_init() and
r8a7779_clock_init() is defined in clock-r8a7779.c.

If both CONFIG_COMMON_CLK and CONFIG_ARCH_R8A7779 are enabled,
as will be the case when marzen-reference moves to use
the common clock framework, then setup-r8a7779.c is compiled
but clock-r8a7779.c is not.

As r8a7779_earlytimer_init() is not used by marzen-reference
simply move it to clock-r8a7779.c.

[horms+renesas@verge.net.au: rebase]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit f48039a3da40f0c193122c83ad582913f2daf29d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r8a7779.c
arch/arm/mach-shmobile/setup-r8a7779.c