OMAP2+: clockdomains: move clockdomain 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)
commitdc0b3a701499bb7727314d7a9c764f7486db4802
treed2daec5610919039b98909d1983e479df4bf1842
parent6e01478ae8a4322c9a2b2d6efed50196265ed5f2
OMAP2+: clockdomains: move clockdomain 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 clockdomain data.

Signed-off-by: Paul Walmsley <paul@pwsan.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>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/clockdomains.h [deleted file]
arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c [new file with mode: 0644]
arch/arm/mach-omap2/clockdomains44xx.h [deleted file]
arch/arm/mach-omap2/clockdomains44xx_data.c [new file with mode: 0644]
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/include/plat/clockdomain.h