From: Brendan Higgins <brendanhiggins@google.com>
To: jdike@addtoit.com, richard@nod.at,
anton.ivanov@cambridgegreys.com,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-um@lists.infradead.org, linux-kernel@vger.kernel.org,
davidgow@google.com, heidifahim@google.com,
Brendan Higgins <brendanhiggins@google.com>
Subject: [PATCH v1 2/5] reset: brcmstb-rescal: add unspecified HAS_IOMEM dependency
Date: Mon, 27 Jan 2020 15:53:53 -0800 [thread overview]
Message-ID: <20200127235356.122031-3-brendanhiggins@google.com> (raw)
In-Reply-To: <20200127235356.122031-1-brendanhiggins@google.com>
Currently CONFIG_RESET_BRCMSTB_RESCAL=y implicitly depends on
CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
the following build error:
/usr/bin/ld: drivers/reset/reset-brcmstb-rescal.o: in function `brcm_rescal_reset_probe':
drivers/reset/reset-brcmstb-rescal.c:76: undefined reference to `devm_ioremap_resource'
Fix the build error by adding the unspecified dependency.
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
---
drivers/reset/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 461b0e506a26f..a19bd303f31a9 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -51,6 +51,7 @@ config RESET_BRCMSTB
config RESET_BRCMSTB_RESCAL
bool "Broadcom STB RESCAL reset controller"
+ depends on HAS_IOMEM
default ARCH_BRCMSTB || COMPILE_TEST
help
This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on
--
2.25.0.341.g760bfbb309-goog
next prev parent reply other threads:[~2020-01-27 23:54 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 ` Brendan Higgins [this message]
2020-01-28 9:22 ` [PATCH v1 2/5] reset: brcmstb-rescal: " 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 ` [PATCH v1 5/5] power: avs: qcom-cpr: " Brendan Higgins
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-3-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=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=p.zabel@pengutronix.de \
--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).