Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1551099pxu; Tue, 24 Nov 2020 03:13:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvDojqBLI2ENEaY6e8qXYJ5uM0yv8GdrbsYTSw8JKQPfm0/umb5q5n2nbI4KtOjGtVBkRL X-Received: by 2002:a05:6402:1243:: with SMTP id l3mr3287451edw.151.1606216401437; Tue, 24 Nov 2020 03:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606216401; cv=none; d=google.com; s=arc-20160816; b=Jlvmo1LGxzBwJNYMWt5sR+ZI134GTHEJ7ofAgIgbBnBSjHX4xjDj9PGz8x6zPR1AC7 vw3UsOeyQ5IMupfupM0CAvUYk2NS1y+JTGVHw0MhMYDdvwkSBHdWmDRkY8hBYfexFG9c /IUdYIkTL/GndEG2EOdr3ckhb2fEccduEiCc72SregbReED2W9r6zLW+Lrlr3pujy9dg MjeeenRfHaceIJm6wRge6l6KujjTvrulYXQfQkcNvPpYuA+PnXUn88MbUAfXBMYdMZx+ vO+Tv/IGsPRiMV0Mb37JZ0MRSCXPPzFJMAfz64oaQTNJqP1SVb6bIiF6nMYeByE3xWoO Ez4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=yXVGVT3ts/PYaCf6k9z1V3H/H7DG1APVOeV0yD1z1TA=; b=zvo3AsgupV1nj+vMpR6PjkRxUR77yoKhi5jUx6/7Tbp0r4sHysJw4/HAGPVqOBK7LP Fqk3FbvXagBbFpyQPW+auoIA/OkjvUMPMAD3uGYBuY8lRAwomojP3ooLpNtR5/RW7Olw RGV3yoj8HCrcdq59lnE2D662+wgu+ufmQeVE9Xrg9LFWZvHdlohM6JVXZudP61N+O7LG wzi8qdSi+wacSiT+asOOc0tCHXXCeeJb3b4kEzoamYr2I1Osp6NHi3lWaH56dJ2O+3N1 33sPai7J3UnRgqYEUCdd1gJdmF+WaivPW6MPHI36rnxVEdV2c+RO8etKd9JKElXpJhIv vsaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y19si8466026edu.280.2020.11.24.03.12.58; Tue, 24 Nov 2020 03:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732611AbgKXLLl (ORCPT + 99 others); Tue, 24 Nov 2020 06:11:41 -0500 Received: from mail.loongson.cn ([114.242.206.163]:49768 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732583AbgKXLLl (ORCPT ); Tue, 24 Nov 2020 06:11:41 -0500 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9AxmtBg6rxf6_EVAA--.36017S2; Tue, 24 Nov 2020 19:11:28 +0800 (CST) From: Tiezhu Yang To: Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: [PATCH] phy/rockchip: Make PHY_ROCKCHIP_INNO_HDMI depend on HAS_IOMEM to fix build error Date: Tue, 24 Nov 2020 19:11:27 +0800 Message-Id: <1606216287-14648-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9AxmtBg6rxf6_EVAA--.36017S2 X-Coremail-Antispam: 1UD129KBjvdXoWr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mailing-List: linux-kernel@vger.kernel.org devm_ioremap_resource() will be not built in lib/devres.c if CONFIG_HAS_IOMEM is not set, and then there exists a build error about undefined reference to "devm_ioremap_resource" in the file phy-rockchip-inno-hdmi.c under COMPILE_TEST and CONFIG_PHY_ROCKCHIP_INNO_HDMI, make PHY_ROCKCHIP_INNO_HDMI depend on HAS_IOMEM to fix it. Reported-by: kernel test robot Signed-off-by: Tiezhu Yang --- drivers/phy/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig index c2f22f9..159285f 100644 --- a/drivers/phy/rockchip/Kconfig +++ b/drivers/phy/rockchip/Kconfig @@ -32,6 +32,7 @@ config PHY_ROCKCHIP_INNO_HDMI tristate "Rockchip INNO HDMI PHY Driver" depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF depends on COMMON_CLK + depends on HAS_IOMEM select GENERIC_PHY help Enable this to support the Rockchip Innosilicon HDMI PHY. -- 2.1.0