From: Brendan Higgins <brendanhiggins@google.com>
To: jdike@addtoit.com, richard@nod.at,
anton.ivanov@cambridgegreys.com,
Kevin Hilman <khilman@kernel.org>, Nishanth Menon <nm@ti.com>
Cc: linux-um@lists.infradead.org, linux-kernel@vger.kernel.org,
davidgow@google.com, heidifahim@google.com,
Brendan Higgins <brendanhiggins@google.com>,
linux-pm@vger.kernel.org
Subject: [PATCH v1 5/5] power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
Date: Mon, 27 Jan 2020 15:53:56 -0800 [thread overview]
Message-ID: <20200127235356.122031-6-brendanhiggins@google.com> (raw)
In-Reply-To: <20200127235356.122031-1-brendanhiggins@google.com>
Currently CONFIG_QCOM_CPR=y implicitly depends on CONFIG_HAS_IOMEM=y;
consequently, on architectures without IOMEM we get the following build
error:
/usr/bin/ld: drivers/power/avs/qcom-cpr.o: in function `cpr_probe':
drivers/power/avs/qcom-cpr.c:1690: undefined reference to `devm_ioremap_resource'
Fix the build error by adding the unspecified dependency.
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
---
drivers/power/avs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/avs/Kconfig b/drivers/power/avs/Kconfig
index b8fe166cd0d9f..cdb4237bfd02e 100644
--- a/drivers/power/avs/Kconfig
+++ b/drivers/power/avs/Kconfig
@@ -14,7 +14,7 @@ menuconfig POWER_AVS
config QCOM_CPR
tristate "QCOM Core Power Reduction (CPR) support"
- depends on POWER_AVS
+ depends on POWER_AVS && HAS_IOMEM
select PM_OPP
select REGMAP
help
--
2.25.0.341.g760bfbb309-goog
prev parent reply other threads:[~2020-01-27 23:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 23:53 [PATCH v1 0/5] uml: add more unspecified HAS_IOMEM dependencies Brendan Higgins
2020-01-27 23:53 ` [PATCH v1 1/5] net: axienet: add unspecified HAS_IOMEM dependency Brendan Higgins
2020-01-27 23:53 ` [PATCH v1 2/5] reset: brcmstb-rescal: " Brendan Higgins
2020-01-28 9:22 ` Philipp Zabel
2020-01-27 23:53 ` [PATCH v1 3/5] reset: intel: " Brendan Higgins
2020-01-27 23:53 ` [PATCH v1 4/5] ptp: 1588_clock_ines: " Brendan Higgins
2020-01-28 14:58 ` Richard Cochran
2020-01-27 23:53 ` Brendan Higgins [this message]
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=20200127235356.122031-6-brendanhiggins@google.com \
--to=brendanhiggins@google.com \
--cc=anton.ivanov@cambridgegreys.com \
--cc=davidgow@google.com \
--cc=heidifahim@google.com \
--cc=jdike@addtoit.com \
--cc=khilman@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=nm@ti.com \
--cc=richard@nod.at \
/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).