Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp688566pxb; Mon, 25 Oct 2021 16:41:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4ziIBGsodNwgyKwbXVHFo8z186qK6N2K7/15obCPNu8yCcSTe2CfrjHgkoMqk6HkmRrnl X-Received: by 2002:a17:902:d718:b0:13d:e2ec:1741 with SMTP id w24-20020a170902d71800b0013de2ec1741mr19266537ply.38.1635205309967; Mon, 25 Oct 2021 16:41:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635205309; cv=none; d=google.com; s=arc-20160816; b=HJyozQTDaf09RU29ZDJ+He0mfaJ1cO2vZ0GtXVwDiqfNOH2MNnIRFmBqegwP0HmOCr 6pWWNklhv0+5dt5FUjYfbOw4nqzvDHe2n1VfCihPyZ4iuEpxu4KZ2DJL5UzizsCOmiXU uxzRntp4v+wTPpEIqa8TwEQ6nqmy6TA3kfhiFsat+HPuc6XH8D+34m+nYKaj9EbwdahG g2LfFcQdv6eJ1lZ4PCAIG/KrrOvsRpz8b0kZ3zVo7ok/5Ck+VSxd0tcFp9qDlCYuxGpH DvhalnSlQQcVQYyvAaOAreoLTYWHhPfFs6UFFxPcjmDFwZzEYWwKDCB2ZRS657XhZV4V EXAA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CkPdT3pNjee2Xb0087oK4VV8Le1hH+ii39eLNz/904Q=; b=Em5gIAkKc26X2ZkTq0G591Ob+Jj8ZUJ9W170kb45FQNlDq/3OAy9gklcpTR1X7Ui54 ZMUCKqaS6TySeIpjjZ7KkP1FaXgLTo9hfSIxPdTy+WcltuJF/QH3Y8tfP9RGC8c9bJx1 +FtKNqUSZMB2sBU9n5q+yJDgechlzo4P5SPObqKB73I/qC8PLUcknRrQGju+Yf44pyD5 IuX1u/58nXtewWy3RBwDRH0aROB1dSpRw7KpvvhRg7j2pK64zCOPqT5DQWsCJ6V3BkmK DARd3D6Qua5EwVlJQIdzJLBEJHfMvyuDCLDbT2NKrdEa0eDRaKH0eAJph/cQOnCoXY4H cyFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wHdU5r1o; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si23719839pll.312.2021.10.25.16.41.24; Mon, 25 Oct 2021 16:41:49 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=wHdU5r1o; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234132AbhJYT3Q (ORCPT + 99 others); Mon, 25 Oct 2021 15:29:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:40072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235152AbhJYT0R (ORCPT ); Mon, 25 Oct 2021 15:26:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 99497610C8; Mon, 25 Oct 2021 19:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635189797; bh=BBTq1XMHgxZOIYSLL3kcvMpjtwUESCOr80d3awmgXKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wHdU5r1oJTqiVsGCA9eQlofObPx6wxSBax5QoIuPrC3j7WuH5HpyLntF4YnfCcXqo qnoMCvJvQ5H68LtMfUomhLHRZ0i7iMiJNQPY2WmtOn9kIIxH9oj7hxW5oAxnKFgKM/ 9IOLwtsrLG9h5h9l0sI8ED05Q2ikjhKJzKIWg8CQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Max Filippov , Sasha Levin Subject: [PATCH 4.19 02/37] xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF Date: Mon, 25 Oct 2021 21:14:27 +0200 Message-Id: <20211025190928.717567427@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025190926.680827862@linuxfoundation.org> References: <20211025190926.680827862@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Filippov [ Upstream commit f3d7c2cdf6dc0d5402ec29c3673893b3542c5ad1 ] Use platform data to initialize xtfpga device drivers when CONFIG_USE_OF is not selected. This fixes xtfpga networking when CONFIG_USE_OF is not selected but CONFIG_OF is. Signed-off-by: Max Filippov Signed-off-by: Sasha Levin --- arch/xtensa/platforms/xtfpga/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index 42285f35d313..982e7c22e7ca 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c @@ -85,7 +85,7 @@ void __init platform_calibrate_ccount(void) #endif -#ifdef CONFIG_OF +#ifdef CONFIG_USE_OF static void __init xtfpga_clk_setup(struct device_node *np) { @@ -303,4 +303,4 @@ static int __init xtavnet_init(void) */ arch_initcall(xtavnet_init); -#endif /* CONFIG_OF */ +#endif /* CONFIG_USE_OF */ -- 2.33.0