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>
This commit is contained in:
Stephen Boyd 2013-12-30 13:15:30 -08:00 committed by Olof Johansson
parent 17d0900c95
commit 0158a4a733
1 changed files with 1 additions and 1 deletions

View File

@ -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