diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-12-21 22:01:20 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-21 22:01:20 -0500 |
commit | 6e01478ae8a4322c9a2b2d6efed50196265ed5f2 (patch) | |
tree | 599403c4442e99f8a63a0635e1712e4a564b50a2 /arch/arm/mach-omap2/Makefile | |
parent | 4b4f62c4672805466652a785070cc2ac8a398e16 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 1a1e978cd4bf..4d6fa15f3b62 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -78,13 +78,18 @@ obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm.o | |||
78 | obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm4xxx.o | 78 | obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm4xxx.o |
79 | 79 | ||
80 | # OMAP powerdomain framework | 80 | # OMAP powerdomain framework |
81 | powerdomain-common += powerdomain.o powerdomains_data.o powerdomain-common.o | 81 | powerdomain-common += powerdomain.o powerdomain-common.o |
82 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \ | 82 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \ |
83 | powerdomain2xxx_3xxx.o | 83 | powerdomain2xxx_3xxx.o \ |
84 | powerdomains2xxx_data.o \ | ||
85 | powerdomains2xxx_3xxx_data.o | ||
84 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \ | 86 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \ |
85 | powerdomain2xxx_3xxx.o | 87 | powerdomain2xxx_3xxx.o \ |
88 | powerdomains3xxx_data.o \ | ||
89 | powerdomains2xxx_3xxx_data.o | ||
86 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \ | 90 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \ |
87 | powerdomain44xx.o | 91 | powerdomain44xx.o \ |
92 | powerdomains44xx_data.o | ||
88 | 93 | ||
89 | # Clock framework | 94 | # Clock framework |
90 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ | 95 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ |