summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/Makefile
diff options
context:
space:
mode:
authorMatt Wagantall <mattw@codeaurora.org>2011-01-26 16:20:54 -0800
committerDavid Brown <davidb@codeaurora.org>2011-01-28 11:20:48 -0800
commitd64560fe3e9bf64b2050ceeb6b6946ba2a4efda0 (patch)
treed58ae274bf9d3f7c231eb8d8761c8e50a670bd36 /arch/arm/mach-msm/Makefile
parentce1c80fbaa3b8e132d4e430cbf7cb4a9cd28b2d5 (diff)
msm: clock: Move debugfs code from clock.c to clock-debug.c
The clock debugfs code is large enough, and easy enough to separate, that it deserves its own file which is compiled only when CONFIG_DEBUG_FS is enabled. Also, cleanup header file #includes that are no longer required. Reviewed-by: Saravana Kannan <skannan@codeaurora.org> Signed-off-by: Matt Wagantall <mattw@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/Makefile')
-rw-r--r--arch/arm/mach-msm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
index 0e5c9dc23830..c7964417daed 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -1,4 +1,7 @@
obj-y += io.o idle.o timer.o
+ifdef CONFIG_MSM_PROC_COMM
+obj-$(CONFIG_DEBUG_FS) += clock-debug.o
+endif
obj-$(CONFIG_MSM_VIC) += irq-vic.o