Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1562989pxu; Tue, 24 Nov 2020 03:34:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJysvJ2Z7oSv8eIbCvF2en5sCHPNMycs49LbOMAmSiY0OnEVipVijCu1CO6OO5c4WafEIRxd X-Received: by 2002:a17:906:46d6:: with SMTP id k22mr3637572ejs.542.1606217667588; Tue, 24 Nov 2020 03:34:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606217667; cv=none; d=google.com; s=arc-20160816; b=0Sh2wmB9IZYt8bC/wUvscgz9pWInWAvZ1LXQCrjuIpG/sSuVIbj0mEdCFrHFS9QW3F 0ejP1P6p9lKGnUYdgcCiwzSARq0VvEYdJFThzjixu9sKbkF5Few2M5Uv03EiLfaXSNMI 2eqc/SAVJ18CRNPqoKasfiHVSiYXOb+5iarnn634pmP7+Sr66IKWgurWgMHhTJMXbkdH D24jhn8K0h1oKd5grHMoUTn9CAiLczEts6VM5gHRTtpivMa/cpfvuwogamImL/tYQ0ve 7nPiMXsdyLFWF9prj6DexnocRDd8IKH0Aj4ZPl5+Q41k/5V6k5jPzEIFCEN1Gtsfc/qR vL0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=NOXZE9mbowBw5/iqTjyAZOmaMRDqTZa1LnherpRvX9E=; b=wP+uJTOmrMDAbRmLJW9838pBkdG453oUaR2vlw18Nh2SgZni6MU9MKg0ocPAPUaFFe uOkOdllfQnEZ541xPPGxSjbRTde2RwNtBua1ih/wBLhwzrMJNsjiG8iS5WfEjikRKyin ZqeYHfAPvCu4c0FUsz8QJo1nXO+NUhwSoFLmWnF1tmniaOrV65wrxQWbEAp2KsXOrFcH pjMhcuZaA8u83I/uPAd0nFGwrtlXuP1EzgAaZM6xSIIrlVehMEOfxtu3I3AKxM0eb6UA 85VByZ8asK0ibxmYumwKZ02d+Js5ydN7bUzrOQBC5MjUR2BaVabiiaNNF83ekwFb5Eze Kf2g== 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 z61si8607619ede.133.2020.11.24.03.34.04; Tue, 24 Nov 2020 03:34:27 -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 S1732642AbgKXLbE (ORCPT + 99 others); Tue, 24 Nov 2020 06:31:04 -0500 Received: from gloria.sntech.de ([185.11.138.130]:38674 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbgKXLbD (ORCPT ); Tue, 24 Nov 2020 06:31:03 -0500 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khWWm-0007V8-Iu; Tue, 24 Nov 2020 12:30:32 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Vinod Koul , Kishon Vijay Abraham I , Tiezhu Yang Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH] phy/rockchip: Make PHY_ROCKCHIP_INNO_HDMI depend on HAS_IOMEM to fix build error Date: Tue, 24 Nov 2020 12:30:31 +0100 Message-ID: <2217294.nRIGxfEAI8@diego> In-Reply-To: <1606216287-14648-1-git-send-email-yangtiezhu@loongson.cn> References: <1606216287-14648-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 24. November 2020, 12:11:27 CET schrieb Tiezhu Yang: > 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 Reviewed-by: Heiko Stuebner > --- > 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. >