Skip to content

Commit

Permalink
ARM: msm: Only build clock.c on proc_comm based platforms
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Boyd authored and Olof Johansson committed Jan 9, 2014
1 parent 17d0900 commit 0158a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 0158a4a

Please sign in to comment.