]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13b99ba4cf5c8546c9f6ba5f5de1189c0d0f9d17
treed2daec5610919039b98909d1983e479df4bf1842
parentbda42f8477cb8b75b1d57f92fff1545e95fd9d0b
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