From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 191C0C4361B for ; Tue, 8 Dec 2020 04:54:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8C9923A5A for ; Tue, 8 Dec 2020 04:54:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727477AbgLHExw (ORCPT ); Mon, 7 Dec 2020 23:53:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:51794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727451AbgLHExw (ORCPT ); Mon, 7 Dec 2020 23:53:52 -0500 From: Vinod Koul Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Kishon Vijay Abraham I Cc: linux-kernel@vger.kernel.org, Vinod Koul , Paul Cercueil , =?UTF-8?q?=E6=BC=86=E9=B9=8F=E6=8C=AF=20=28Qi=20Pengzhen=29?= , =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0=20=28Zhou=20Yanjie=29?= , kernel test robot Subject: [PATCH] phy: ingenic: depend on HAS_IOMEM Date: Tue, 8 Dec 2020 10:23:00 +0530 Message-Id: <20201208045300.3637026-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Vinod Koul --- 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