summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorKevin Hilman2011-03-21 22:08:55 +0100
committerKevin Hilman2011-09-15 20:39:10 +0200
commitccd5ca7787df8f1bd267b90f03a09c31c160ffe2 (patch)
tree593de0267c8554188d7d5425e83836ba7d84bb65 /arch/arm/mach-omap2/Makefile
parentOMAP2+: voltage: keep track of powerdomains in each voltagedomain (diff)
downloadkernel-qcow2-linux-ccd5ca7787df8f1bd267b90f03a09c31c160ffe2.tar.gz
kernel-qcow2-linux-ccd5ca7787df8f1bd267b90f03a09c31c160ffe2.tar.xz
kernel-qcow2-linux-ccd5ca7787df8f1bd267b90f03a09c31c160ffe2.zip
OMAP2+: voltage: split voltage controller (VC) code into dedicated layer
As part of the voltage layer cleanup, split out VC specific code into a dedicated VC layer. This patch primarily just moves VC code from voltage.c into vc.c, and adds prototypes to vc.h. No functional changes. For readability, each function was given a local 'vc' pointer: struct omap_vc_instance_data *vc = voltdm->vdd->vc_data; and a global replace of s/vdd->vc_data/vc/ was done. Also vc_init was renamed to vc_init_channel to reflect that this is per-VC channel initializtion. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index cce9bc300af5..59db6d9ba244 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -90,7 +90,7 @@ obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm2xxx_3xxx.o cminst44xx.o \
# OMAP voltage domains
ifeq ($(CONFIG_PM),y)
-voltagedomain-common := voltage.o
+voltagedomain-common := voltage.o vc.o
obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) \
voltagedomains2xxx_data.o
obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) \