Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1161949pxu; Fri, 27 Nov 2020 00:53:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBi+mKfPiB53tpCCfIQgi58dH9l5qOE6RwMt4BTCk95TIdOXnhnZtWtpjWqgFq0IdCW4G9 X-Received: by 2002:a50:e68a:: with SMTP id z10mr6459389edm.28.1606467190737; Fri, 27 Nov 2020 00:53:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606467190; cv=none; d=google.com; s=arc-20160816; b=ojh0zgMTP8kDNvdYToMLIZ/ukdg7/8ABXriYmBsHd+mi1STKJd/kUhZDX815kexTWt IyUocYW/4LPfGEAClpk52Mk6wYxlABa+Uh2TTwz/HkJ/bBbuvyIbZPa6wGnjJ9FzWX7C QUAkyOJxV/FGthT/hQrDHN1yhjFoOjCnz2WDUzawtIkYoPOvjviAwjVr5138WYy7ndaO QXely7nyd7ZTqAMRILpJIZ3XBODqvAUAO0bf39EqTrHhUkZxIcQejdhuKvRGo2VMAILU 6ZzIq4iAhfwmvDG2AiktXJGBAWPgehpCukzgej+Y6bpXPNH3SnppUoSqTM1gcJ8WDFUB buPw== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=VV/UVxBer8cz/LL3HT1bG3fkm0bU1MCnYZbcXRXqx5g=; b=yI4mG1pasozxSpnGpXy1XCOZ613rFgI49+VapJih+4c9uKbNnqUNn5HtggHaVLxqQq ca7MKzI010+PqrMDf9JjetOZE9K7DFdtkZJvm0cu5Ixe0luSN+ksgKznvk1SXuYHngwC szVXzUdVyhgIgNiMX1JGeGn3dJN5MbE3WVXDL5slADjYjpw5DPMUFhrHR1ysMVMQQZaJ FSfc+LzaX8nwjXTx1SQlnL6Jakqh/FnSB2km44SBr1Mw6uqUdHDCAnUgrECFEzyOyJcK 6c4SewXmIA+LY8nmeLEjuOcds24GOUgpQsjst/9k7dtR8Ffu0mEUuEsN+dWmj7LX0KWt 9oFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=abqYXwa5; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si4605455edw.119.2020.11.27.00.52.48; Fri, 27 Nov 2020 00:53:10 -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=@mediatek.com header.s=dk header.b=abqYXwa5; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732807AbgK0F6Z (ORCPT + 99 others); Fri, 27 Nov 2020 00:58:25 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:3825 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731985AbgK0F6Z (ORCPT ); Fri, 27 Nov 2020 00:58:25 -0500 X-UUID: b4e933b0133147a1af2d03c003ee2205-20201127 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=VV/UVxBer8cz/LL3HT1bG3fkm0bU1MCnYZbcXRXqx5g=; b=abqYXwa5oSUmv/YH5Q2xOcqoc3nIqP4N73SJp60+hvJhiLJFzU3uGAhTIVVlc/c+T2RMd+nyZXPpzSPoZlp2ZRtNLb8iWg8HwEkDTmHieJY2F3U39oo6AjY+beCBFWd5jhvuSNRbWk+TZ4T3bfZwYj9FNI9JIneyaAEYdo2LdGI=; X-UUID: b4e933b0133147a1af2d03c003ee2205-20201127 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1039532657; Fri, 27 Nov 2020 13:58:16 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS32N2.mediatek.inc (172.27.4.72) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 27 Nov 2020 13:58:15 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 27 Nov 2020 13:58:14 +0800 Message-ID: <1606456694.7284.13.camel@mhfsdcap03> Subject: Re: [PATCH v2] phy: mediatek: Make PHY_MTK_{XSPHY,TPHY} depend on HAS_IOMEM and OF_ADDRESS to fix build errors From: Chunfeng Yun To: Tiezhu Yang CC: Vinod Koul , Kishon Vijay Abraham I , , , , Heiko Stuebner , "Randy Dunlap" , Xuefeng Li Date: Fri, 27 Nov 2020 13:58:14 +0800 In-Reply-To: <1606289865-692-1-git-send-email-yangtiezhu@loongson.cn> References: <1606289865-692-1-git-send-email-yangtiezhu@loongson.cn> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: A1348FE1C622C32EE3BBD342ACC8DE129ED9659DFB7E737BC92FAEBB073FDC842000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTExLTI1IGF0IDE1OjM3ICswODAwLCBUaWV6aHUgWWFu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