OMAP2/3 clock: clean up omap*_clk_arch_init()
commit4680c29f69e981106da2abfea7f1a3e6f1b03791
authorPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:09 +0000 (26 20:13 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 29 Jan 2010 17:14:22 +0000 (29 10:14 -0700)
treec3998052c1d27009c524274d5823636375bf383c
parent35e424e2c0229aa1e32776fac23902150bd0ab9a
OMAP2/3 clock: clean up omap*_clk_arch_init()

In the OMAP3xxx clock code, remove the #ifdef CONFIG_ARCH_OMAP3 in
clock34xx.c, since this file is only compiled for OMAP3xxx builds.  Also,
rename omap2_clk_arch_init in this file to omap3xxx_clk_arch_init() to
pave the way for multi-OMAP kernels.  Ensure that it is not executed
on non-OMAP3xxx systems.

In the OMAP2xxx clock code, rename omap2_clk_arch_init in this file to
omap2xxx_clk_arch_init() to pave the way for multi-OMAP kernels.
Ensure that it is not executed on non-OMAP2xxx systems.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock2xxx.c
arch/arm/mach-omap2/clock34xx.c