Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5818164pxu; Wed, 23 Dec 2020 06:19:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlODdTe3bIDWeJ4336EI2w23vE000aIgyLe1ga88yCePrQSmvLz07EMmyQ/1u5EBl9D22/ X-Received: by 2002:a17:906:fb9b:: with SMTP id lr27mr24823504ejb.175.1608733174731; Wed, 23 Dec 2020 06:19:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608733174; cv=none; d=google.com; s=arc-20160816; b=y6c5sEVzeNeHPW/JqfB12N73qfXsOezFoschwAjDRiRpWcTYM+YgxTjrN5p4pMgVqx 2gpaJ8O+SIY3l3lupn9ZJgHQ/ZLG0KR/liE3D0SwfwxEaVr0e10xI5Yd7jyfIElQsJmv jotiPbTsB6XUIX1WZ/6dRn4VJRwzu4GtL48kQJXcgvKrjsSTRUWwg39/v+aJuxOmAXA+ Ff4I30KLaxol1s3FZNc4aeOqJzX98wt6Zbf1fR6oFmkOOBOi/qaXJyuoYSEa6dHSwuS+ sLE4iga/+rZDeJUtY35/WB6blYEf/2rIdq7JXNIlnqPULzccHcCzeCkKJsC3ztBA18AY 7Pew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=nyUVhrcC2KLL9DI7kvZSm+Vqh3Cigr5q3y9kXpU0j6k=; b=vBdl7p1yXn4w8AU1+M/zfWq7+ln6ylPiELRBw57XW9z6vSse5rP+umN2Rju/qil3/h Nm+jnSo0dGSsDM0UW6AnxHTqZWxbUEagtb4luYAtofSdBirm5/gfcbjvdTFGFHnpoaiz rgdEo81S2CnGYaTi+3nC8ghQBYzE7m9IPeIgliuoYt3jSFMULW4oAenAUd1XOUVK8l/h JhC8tDKyWB+drLOPPRkyIskyhghz2rYeAMirW23OXaHTyVcbY0lnO5RFWwxeYxwI7sJd poEruX040DnQ+kueGXWW80DxWG6NFP0bpi/CCYJASYryjxwUa8pxTwPYVu/WnYij2NLi O3nQ== 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 bd3si13060796edb.589.2020.12.23.06.19.12; Wed, 23 Dec 2020 06:19:34 -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 S1728122AbgLWOSz (ORCPT + 99 others); Wed, 23 Dec 2020 09:18:55 -0500 Received: from out28-5.mail.aliyun.com ([115.124.28.5]:35731 "EHLO out28-5.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728082AbgLWOSy (ORCPT ); Wed, 23 Dec 2020 09:18:54 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.09277304|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_news_journal|0.0114677-0.0031451-0.985387;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047211;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.JAd1WJ3_1608733087; Received: from 192.168.10.118(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.JAd1WJ3_1608733087) by smtp.aliyun-inc.com(10.147.43.230); Wed, 23 Dec 2020 22:18:07 +0800 Subject: Re: [PATCH phy] PHY: Ingenic: fix unconditional build of phy-ingenic-usb To: Alexander Lobakin , Kishon Vijay Abraham I , Vinod Koul Cc: =?UTF-8?B?5ryG6bmP5oyv?= , Paul Cercueil , Linus Torvalds , linux-kernel@vger.kernel.org References: <20201222131021.4751-1-alobakin@pm.me> From: Zhou Yanjie Message-ID: <8b34319d-b085-853a-c2f8-384bd60f50ff@wanyeetech.com> Date: Wed, 23 Dec 2020 22:18:07 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20201222131021.4751-1-alobakin@pm.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexander, On 2020/12/22 下午9:10, Alexander Lobakin wrote: > Currently drivers/phy/ingenic/Makefile adds phy-ingenic-usb to targets > not depending on actual Kconfig symbol CONFIG_PHY_INGENIC_USB, so this > driver always gets built[-in] on every system. > Add missing dependency. > > Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.") > Signed-off-by: Alexander Lobakin > --- > drivers/phy/ingenic/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Apologize for my carelessness, and Tested-by: 周琰杰 (Zhou Yanjie) Thanks and best regards! > diff --git a/drivers/phy/ingenic/Makefile b/drivers/phy/ingenic/Makefile > index 65d5ea00fc9d..1cb158d7233f 100644 > --- a/drivers/phy/ingenic/Makefile > +++ b/drivers/phy/ingenic/Makefile > @@ -1,2 +1,2 @@ > # SPDX-License-Identifier: GPL-2.0 > -obj-y += phy-ingenic-usb.o > +obj-$(CONFIG_PHY_INGENIC_USB) += phy-ingenic-usb.o