aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-12-21 22:01:20 -0500
committerPaul Walmsley <paul@pwsan.com>2010-12-21 22:01:20 -0500
commitdc0b3a701499bb7727314d7a9c764f7486db4802 (patch)
treed2daec5610919039b98909d1983e479df4bf1842 /arch/arm/mach-omap2/Makefile
parent6e01478ae8a4322c9a2b2d6efed50196265ed5f2 (diff)
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>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 4d6fa15f3b62..2006deef0183 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -10,8 +10,7 @@ omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o
10hwmod-common = omap_hwmod.o \ 10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o 11 omap_hwmod_common_data.o
12clock-common = clock.o clock_common_data.o \ 12clock-common = clock.o clock_common_data.o \
13 clockdomain.o clkt_dpll.o \ 13 clkt_dpll.o clkt_clksel.o
14 clkt_clksel.o
15 14
16obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) 15obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) 16obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common)
@@ -91,6 +90,13 @@ obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \
91 powerdomain44xx.o \ 90 powerdomain44xx.o \
92 powerdomains44xx_data.o 91 powerdomains44xx_data.o
93 92
93# PRCM clockdomain control
94obj-$(CONFIG_ARCH_OMAP2) += clockdomain.o \
95 clockdomains2xxx_3xxx_data.o
96obj-$(CONFIG_ARCH_OMAP3) += clockdomain.o \
97 clockdomains2xxx_3xxx_data.o
98obj-$(CONFIG_ARCH_OMAP4) += clockdomain.o \
99 clockdomains44xx_data.o
94# Clock framework 100# Clock framework
95obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ 101obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \
96 clkt2xxx_sys.o \ 102 clkt2xxx_sys.o \