From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] ARM: msm: Only build clock.c on proc_comm based platforms
Date: Wed, 4 Dec 2013 11:39:10 -0800 [thread overview]
Message-ID: <1386185952-27259-4-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1386185952-27259-1-git-send-email-sboyd@codeaurora.org>
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>
---
arch/arm/mach-msm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2013-12-04 19:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 19:39 [PATCH 0/5] Allow MSM DT platforms to be built multi-platform Stephen Boyd
2013-12-04 19:39 ` [PATCH 1/5] mmc: msm_sdcc: Limit driver to platforms that use it Stephen Boyd
2013-12-10 23:47 ` Stephen Boyd
2013-12-04 19:39 ` [PATCH 2/5] tty: serial: Limit msm_serial_hs " Stephen Boyd
2013-12-04 19:54 ` Greg Kroah-Hartman
2013-12-04 19:39 ` Stephen Boyd [this message]
2013-12-04 19:39 ` [PATCH 4/5] ARM: msm: Only build timer.c if required Stephen Boyd
2013-12-04 19:39 ` [PATCH 5/5] ARM: msm: Move MSM's DT based hardware to multi-platform support Stephen Boyd
2013-12-05 2:43 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386185952-27259-4-git-send-email-sboyd@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).