Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6370988ybi; Wed, 31 Jul 2019 13:08:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+rYmrjFw7xEg7u33fRx8Gpz4K2olqMrFodjkdDPi6QH2Zf1CVqy/ebzG6asO0CTaqHT6O X-Received: by 2002:a63:e010:: with SMTP id e16mr109030285pgh.285.1564603719303; Wed, 31 Jul 2019 13:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564603719; cv=none; d=google.com; s=arc-20160816; b=ME0TkhMr3vU2wuaHEeJRj99B+pxoEv/bb0ITwhyadOMR27LJStcdJkR9+V6SxFNMrk QDB2m9f8F5BD8ljjm1TApFR+uyiVFmN04S2xUvsRL6fyP81LDLSTgJkUwvpbjY7w0Dv4 o0Z8CsRm4O/IDjNEFNbiArWSH+LnKoPQGngQUx5epm8/tZVyaSq/40w8nSZP/hp/DTMW ouRIYn8ZQz8E03W/8sNceViNO5KHnAUUBP99KY3K9Dkaz3axj4ZUC4NttWHyWDIU+jXO Sj/9uK/AOJg1195nR6rJXqqCco6o9LQXWFQuuNzmNHoVioKgOU94HJL36VVZ92OZjEfi vfTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=zg/BhCWXvlzruELe1VFHXSqI2Dpz9kbH9CkQOqJV/rM=; b=v1Tc/eqFGQcfP4Bxshq/AgOnHY4kVXQp8AYfQU4YLqxBgFa81kSEJ0VVkvdPNoGUy7 EChFhD01RveavJhC+NMwpqjmgKRHSFLLz895ZBoUfeIAEzA8/liaMZwT1k5lmY6r3e+H wqLq1AmVjGwHRNCbdC+OKYG7SAl4Wr3nohlZju4RFFOgk40+f3uGqgL8q//SdeLgywxc g3Oo9a+RkabnPWBYY3S5ZLCNbFDNF8PMlIkfygNaPh8JMPc10BFXLZ/w+mZTMv7zyV/6 Y1T+TGAGswlz0YLZGuOmMPegXeQltOJ7fECh/XY6Ug926GkKSNPuMhVsHn08r2RHPvc6 MyXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si36128850pgl.419.2019.07.31.13.08.24; Wed, 31 Jul 2019 13:08:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730581AbfGaUCW (ORCPT + 99 others); Wed, 31 Jul 2019 16:02:22 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:34959 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729550AbfGaUCV (ORCPT ); Wed, 31 Jul 2019 16:02:21 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MxHLs-1iGtlI0h4q-00xYiP; Wed, 31 Jul 2019 22:01:44 +0200 From: Arnd Bergmann To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, Vladimir Zapolskiy , Sylvain Lemieux , Russell King , Gregory Clement , Linus Walleij Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , "David S. Miller" , Greg Kroah-Hartman , Alan Stern , Guenter Roeck , linux-gpio@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 08/14] net: lpc-enet: allow compile testing Date: Wed, 31 Jul 2019 21:56:50 +0200 Message-Id: <20190731195713.3150463-9-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190731195713.3150463-1-arnd@arndb.de> References: <20190731195713.3150463-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:bQO/P7oE1AasL5WRFX8A8Iw79gwR2TUWl5KOlZaoQbsLC6qyZ3M BqjvpoU3FzeJMaTmEyNZPpDYQsGf01s7vM6mqVbCCqYpR+VH9U3/oy0xO+7d/XqDKrZRScs GKPYEfqcPhZKIPwd/VF2tMUAfS5j7EliScirqrFjPu8WusX9n+IWZVIlecysf5C6EC7vNJV Y+CHXjmLXL6XBHVmlDthg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wgW8X3aAw54=:zzSiZhm815Ou/Nwd6C9iLM 8pGGZZ1MNm+TJLjXzf5qAu/AU+nMBlFA8b+4jZEd1w9esMERStkBfjfc+hCYa4fvIVEGyrOY2 rgAgi4qKEbp8czy7oAIf1f62ZHCdRci+Wx21+sgjylY/7OD9KMwh40IjuRtC5KIsOflIjss63 2ny0LZzhcyhnMnSt66utWr6Py58xbkNhZYgxX2fejPF1IW734b5FLedEO34kKt0kqZ34JFOZ/ 4Z9/Fm+TrnN/g7EYnNC+2gnV2/4enSXdUzsNIjPjlEBCPO7VXfFNakW/QZyqg0UYxAPidEN5m Qe/0NFGLMWfxGncHijKtiX9XzMqxxIvf4XjGxVSLEdlD0BDUGu6FqiQIKfhMyn1DFk/XbO42/ 82qzSohrF3yATVgLCrSAPqK+sOmomtx5lPd/+rmUhLqAGXFnbsnxQHaIV7OvOmqqTUnETc/kh 3ef4BZR3TAwakr2EnP5cY3eC0FhJHywe0TBxiRLevIBN2c1CtinvaCxz28sGp28S2SmUbCAy/ pjkz8586/aXzkaJyvAr5gL76CGT5dDNUXYo1CwW7GWieGTW/P17EAWnJp0jjMSqrYgvBN5WCN G2/uUtYXb8yOdCkFMBF+8CWo7hzKHuPjy+oBnUA6SrOJ61t3gb/hYLmoL3OjWWdbIGDPA5w1L YaPT07myPbkUcnsdWJKaPeeBaeioX1lnNsZZ+RfngtM1BGJ16w3IOWLg+EgehEy8bW7ev6L/k iaOINOy1fT0MDbzlmDp6pVMc3XbEFBEzxk9HUA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The lpc-enet driver can now be built on all platforms, so allow compile testing as well. Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/nxp/Kconfig | 2 +- drivers/net/ethernet/nxp/lpc_eth.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/nxp/Kconfig b/drivers/net/ethernet/nxp/Kconfig index 261f107e2be0..418afb84c84b 100644 --- a/drivers/net/ethernet/nxp/Kconfig +++ b/drivers/net/ethernet/nxp/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config LPC_ENET tristate "NXP ethernet MAC on LPC devices" - depends on ARCH_LPC32XX + depends on ARCH_LPC32XX || COMPILE_TEST select PHYLIB help Say Y or M here if you want to use the NXP ethernet MAC included on diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/lpc_eth.c index 0893b77c385d..34fdf2100772 100644 --- a/drivers/net/ethernet/nxp/lpc_eth.c +++ b/drivers/net/ethernet/nxp/lpc_eth.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include -- 2.20.0