ARM: OMAP: Remove plat-omap/common.h
authorTony Lindgren <tony@atomide.com>
Mon, 29 Oct 2012 23:45:47 +0000 (16:45 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2012 22:37:13 +0000 (15:37 -0700)
commit5c2e88525b5f1cdc72c9eefba72dae13be7e5d20
tree09d5b531c59b9039e23d933b9b266f0e10d73910
parent6e740f9a85339c295af8deb5376511fcb2a268ad
ARM: OMAP: Remove plat-omap/common.h

Most of the prototypes in plat-omap/common.h are not
common to omap1 and omap2+, they are local to omap2+
and should not be in plat-omap/common.h.

The only shared function prototype in this file is
omap_init_clocksource_32k(), let's put that into
counter-32k.h.

Note that the new plat/counter-32k.h must not be
included from drivers, that will break omap2+ build
for CONFIG_MULTIPLATFORM.

Signed-off-by: Tony Lindgren <tony@atomide.com>
13 files changed:
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/timer32k.c
arch/arm/mach-omap2/cm33xx.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/prm33xx.c
arch/arm/mach-omap2/prm_common.c
arch/arm/mach-omap2/timer.c
arch/arm/plat-omap/common.c
arch/arm/plat-omap/common.h [deleted file]
arch/arm/plat-omap/counter_32k.c
arch/arm/plat-omap/include/plat/counter-32k.h [new file with mode: 0644]