summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-30 13:15:30 -0800
committerOlof Johansson <olof@lixom.net>2014-01-09 00:08:42 -0800
commit0158a4a733d8f7141530279ba4653004704e9306 (patch)
tree95baeb863e2664952c533ee0032ad35695001d50 /arch/arm/mach-msm
parent17d0900c95622c0bb672bbd7115ae228cfc3cd21 (diff)
downloadop-kernel-dev-0158a4a733d8f7141530279ba4653004704e9306.zip
op-kernel-dev-0158a4a733d8f7141530279ba4653004704e9306.tar.gz
ARM: msm: Only build clock.c on proc_comm based platforms
The functionality provided by clock.c in mach-msm is only needed on proc_comm based platforms. Only build the file if proc_comm is enabled. This prevents compile failures for platforms that are part of the multi-platform kernel. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
index 7ed4c1b..6baae6e 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -1,5 +1,5 @@
obj-y += timer.o
-obj-y += clock.o
+obj-$(CONFIG_MSM_PROC_COMM) += clock.o
obj-$(CONFIG_MSM_VIC) += irq-vic.o
OpenPOWER on IntegriCloud