ARM: OMAP2xxx: hwmod data: share common interface data
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:34 +0000 (04:04 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:25:06 +0000 (04:25 -0600)
commit6a29755fd7b92dc58908826f8d570a20a07a6fce
tree95fe09a59217b082db9575bab222d531786eedee
parentcb48427ef7ee274528bf0132bb69a7ca378dc9d2
ARM: OMAP2xxx: hwmod data: share common interface data

Several struct omap_hwmod_ocp_if records can be shared between OMAP2420
and OMAP2430.  Move these shared records out of the chip-specific files
into mach-omap2/omap_hwmod_2xxx_interconnect_data.c.  This should save some
memory and source lines, at the cost of readability.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c
arch/arm/mach-omap2/omap_hwmod_common_data.h