Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3657486pxu; Mon, 30 Nov 2020 07:42:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMGFdLhKTxCL7/+DplY8TA2NXlPLLdyBeZR+yNaj7mncqmxEmPr56u4D+tJCWGmXjd6d+C X-Received: by 2002:a17:906:454c:: with SMTP id s12mr5435546ejq.277.1606750946313; Mon, 30 Nov 2020 07:42:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606750946; cv=none; d=google.com; s=arc-20160816; b=0hNG41aPcHpCl9HgIvC3YQtLNytuATfppmiYRLpEg4icQmWgVbC83z9Sp4z5gX8Y6W DspGHzfFWVZFPecvVFCoq2rO5XSNEFZC/T9SlR1Y2Mpdes6aLjE+t77c651PE8up7Ba2 AvnpU4OPzcRLPeYBghmSVtsHNK9ugEdWnm6WhOkLg4Bmq1+RVp/JlMh+B3Yi7IajbjCk L+7L7/YR/wvqA2G+jARxIR0gdyZBGErs8dqUY7oVXHq0HxRrArcmiYMvyZpEvv2Cu+Gv diRD0eaThLZ1cgrkVNeZIyWVJl6MS8IdggRGKJQwoSgAFLnODl14yH2b54qkBuSJ1mYM L7jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=b1yy6pKN3Rw/dvBsIhI/COOYZL8+f9gefCoOgitt8ww=; b=LcI6rFjHTcvXMgI+uZVas0VJkI5luLYjpN/2SLzsHTm6OXMBqUKer491g4nkBX9BT1 TJwoai2veflk0exP9u+xf9HK6LKsCk74Ak8/H8SDTZUtj9ORyuAbAv41g0nRqXYG7Lg4 CqZv7QklowAlYN4OwQencsOp44ept0S3R1K7DaJIVhLXHCtViE73R5XPArpPr5gRYsty zF9nxzNCldaFzq5vj95eIYNpiqANfzTkfn6m4xv5pxzXETxfTr1QMAm/uJPQfSIBs0uw +lL/ttWbBNzrsFHCGlZPWSg9NpOTepdKJp4jFbetF79HQO68m95OKE14p6/ELZD/eQ/7 7mqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oFaE7bMw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i5si11167929edg.592.2020.11.30.07.42.02; Mon, 30 Nov 2020 07:42:26 -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; dkim=pass header.i=@kernel.org header.s=default header.b=oFaE7bMw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727844AbgK3PkI (ORCPT + 99 others); Mon, 30 Nov 2020 10:40:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:44750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726623AbgK3PkI (ORCPT ); Mon, 30 Nov 2020 10:40:08 -0500 Received: from localhost (unknown [122.171.214.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3CA2206C0; Mon, 30 Nov 2020 15:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606750767; bh=7f4KPZ4iCisw1kDO37mrD2ADltaAvJw3PYEd004KdcQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oFaE7bMwAMwcR764NAnL3/nzWmHQ0jrv+mfH2NWabKqNrZbLbajElNCV5kGb85xMI ahd6Wm1OHFWfzj41bNyrvis7+SmK7ZkEp9H6yw1dGP0QQt2IQMfp0iI/8avfksG/M7 GxRHpX6WHE9JrJw31d1Jj3ppp7mdLbJ/sDdAJDEE= Date: Mon, 30 Nov 2020 21:09:23 +0530 From: Vinod Koul To: Tiezhu Yang Cc: Kishon Vijay Abraham I , Chunfeng Yun , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Heiko Stuebner , Randy Dunlap , Xuefeng Li Subject: Re: [PATCH v2] phy: mediatek: Make PHY_MTK_{XSPHY,TPHY} depend on HAS_IOMEM and OF_ADDRESS to fix build errors Message-ID: <20201130153923.GV8403@vkoul-mobl> References: <1606289865-692-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1606289865-692-1-git-send-email-yangtiezhu@loongson.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25-11-20, 15:37, Tiezhu Yang wrote: > devm_ioremap_resource() will be not built in lib/devres.c if > CONFIG_HAS_IOMEM is not set, of_address_to_resource() will be > not built in drivers/of/address.c if CONFIG_OF_ADDRESS is not > set, and then there exists two build errors about undefined > reference to "devm_ioremap_resource" and "of_address_to_resource" > in phy-mtk-xsphy.c under COMPILE_TEST and CONFIG_PHY_MTK_XSPHY, > make PHY_MTK_XSPHY depend on HAS_IOMEM and OF_ADDRESS to fix it. Applied, thanks -- ~Vinod