From: Vinod Koul <vkoul@kernel.org>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: linux-kernel@vger.kernel.org, "Vinod Koul" <vkoul@kernel.org>,
"Paul Cercueil" <paul@crapouillou.net>,
"漆鹏振 (Qi Pengzhen)" <aric.pzqi@ingenic.com>,
"周琰杰 (Zhou Yanjie)" <zhouyanjie@wanyeetech.com>,
"kernel test robot" <lkp@intel.com>
Subject: [PATCH] phy: ingenic: depend on HAS_IOMEM
Date: Tue, 8 Dec 2020 10:23:00 +0530 [thread overview]
Message-ID: <20201208045300.3637026-1-vkoul@kernel.org> (raw)
The driver uses devm_ioremap_resource() which will not be built if
CONFIG_HAS_IOMEM is not selected, so add depends on it to fix the build
failure on few archs
s390-linux-ld: drivers/phy/ingenic/phy-ingenic-usb.o: in function `ingenic_usb_phy_probe':
>> phy-ingenic-usb.c:(.text+0xb66): undefined reference to `devm_platform_ioremap_resource'
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
drivers/phy/ingenic/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/ingenic/Kconfig b/drivers/phy/ingenic/Kconfig
index 912b14e512cb..f23cc109324b 100644
--- a/drivers/phy/ingenic/Kconfig
+++ b/drivers/phy/ingenic/Kconfig
@@ -6,6 +6,7 @@ config PHY_INGENIC_USB
tristate "Ingenic SoCs USB PHY Driver"
depends on MIPS || COMPILE_TEST
depends on USB_SUPPORT
+ depends on HAS_IOMEM
select GENERIC_PHY
help
This driver provides USB PHY support for the USB controller found
--
2.26.2
reply other threads:[~2020-12-08 4:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20201208045300.3637026-1-vkoul@kernel.org \
--to=vkoul@kernel.org \
--cc=aric.pzqi@ingenic.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=paul@crapouillou.net \
--cc=zhouyanjie@wanyeetech.com \
/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).