OMAP2+: powerdomains: move powerdomain static data to .c files
authorPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 03:01:20 +0000 (20:01 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 03:01:20 +0000 (20:01 -0700)
commit6e01478ae8a4322c9a2b2d6efed50196265ed5f2
tree599403c4442e99f8a63a0635e1712e4a564b50a2
parent4b4f62c4672805466652a785070cc2ac8a398e16
OMAP2+: powerdomains: move powerdomain static data to .c files

Static data should be declared in .c files, not .h files.  It should be
possible to #include .h files at any point without creating multiple
copies of the same data.

We converted the clock data to .c files some time ago.  This patch does
the same for the powerdomain data.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@deeprootsystems.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Rajendra Nayak <rnayak@ti.com>
15 files changed:
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/powerdomain2xxx_3xxx.c
arch/arm/mach-omap2/powerdomain44xx.c
arch/arm/mach-omap2/powerdomains.h
arch/arm/mach-omap2/powerdomains24xx.h [deleted file]
arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c [new file with mode: 0644]
arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.h [new file with mode: 0644]
arch/arm/mach-omap2/powerdomains2xxx_data.c [new file with mode: 0644]
arch/arm/mach-omap2/powerdomains34xx.h [deleted file]
arch/arm/mach-omap2/powerdomains3xxx_data.c [new file with mode: 0644]
arch/arm/mach-omap2/powerdomains44xx.h [deleted file]
arch/arm/mach-omap2/powerdomains44xx_data.c [new file with mode: 0644]
arch/arm/mach-omap2/powerdomains_data.c [deleted file]
arch/arm/plat-omap/include/plat/powerdomain.h