]> git.karo-electronics.de Git - mv-sheeva.git/commit
OMAP hwmod: convert header files with static allocations into C files
authorPaul Walmsley <paul@pwsan.com>
Tue, 23 Feb 2010 05:09:32 +0000 (22:09 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 24 Feb 2010 19:29:45 +0000 (12:29 -0700)
commit7359154e94623f6a5a68a77b9fcfbef40633c93f
treecf76ba61a911c693c5e7f8b50c7a523e7c531788
parent50ebdac2ec9fb2de9c271cb2e0e13aae3b454166
OMAP hwmod: convert header files with static allocations into C files

Code should be able to #include any header file without the fear that
the header file will go allocating memory.  This is a coding style
issue, similar to commit 82e9bd588563c4e22ebb55b684ebec7e310cc715.
Move the existing hwmod data from .h files to .c files.

While here, convert "omap34xx" to "omap3xxx" in the hwmod files, since
most of these structures should be reusable across all OMAP3 chips.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap_hwmod_2420_data.c [moved from arch/arm/mach-omap2/omap_hwmod_2420.h with 86% similarity]
arch/arm/mach-omap2/omap_hwmod_2430_data.c [moved from arch/arm/mach-omap2/omap_hwmod_2430.h with 86% similarity]
arch/arm/mach-omap2/omap_hwmod_34xx.h [deleted file]
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap_hwmod.h