summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/Makefile
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-30 13:15:31 -0800
committerOlof Johansson <olof@lixom.net>2014-01-09 00:08:44 -0800
commit301c5a993d62d74e98cb965fcb04eeffb0e1db32 (patch)
tree0c3f3943778d4a920b22bc926538c17de5b95314 /arch/arm/mach-msm/Makefile
parent0158a4a733d8f7141530279ba4653004704e9306 (diff)
ARM: msm: Only build timer.c if required
The MSM timer is only used on MSM devices that don't have the architected timers. Introduce a hidden Kconfig option for this driver so that we don't build it on the platforms that don't need it. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm/Makefile')
-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 6baae6e6c46..8e307a10d3c 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -1,4 +1,4 @@
-obj-y += timer.o
+obj-$(CONFIG_MSM_TIMER) += timer.o
obj-$(CONFIG_MSM_PROC_COMM) += clock.o
obj-$(CONFIG_MSM_VIC) += irq-vic.o