From patchwork Fri Aug 9 14:40:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 170942 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp10104454ile; Fri, 9 Aug 2019 07:44:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPKyGs1V8tptq3RfdHDEg4W182GoL2v0yvPmFeVbNIn1XoyUZoFQIbuneRF9XSBLs5uJPf X-Received: by 2002:a17:90a:fa07:: with SMTP id cm7mr9497148pjb.138.1565361899563; Fri, 09 Aug 2019 07:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565361899; cv=none; d=google.com; s=arc-20160816; b=Ah1QJbWqLiWgYwWzN6jNSkicAzShE6yCR+S3oc0xHbCOzpF5nCQIkKayeaIvYCv5Pr LTfz2JPcniJ7gain2+VakTk9xus3/+XVNY+aq4JnT2S/hPv+dkfZbQDEZTD29htrA5r8 b0ofS+8cp5MEyoOH3nLkP/2fEtFvpHuhRBd7eOl0bU79JPUP/59cg55jEPFL+LEhlFPy gkAEzGhVbbAsg/PAWusiYUNPDoiGBRg3nqMgZzKlT8Lt+6HG58x8EIiFC85FugeV/vrP TAtFO6e8rF1d0ilVCdyHvB/OV/4FGCTL7cdyL2xqFz4APdPMftRfFPROdDuZta4cDbkG vYkg== 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=UDXEAYZ3O4wTwr/mlyfcXBIHGMA91FT0WdknIVt1vYw=; b=UmRnoPlf/EGEqKJDWsWn/Ync3SyTHFnwyP+RYBoLzxxFRLHVU+6bCH1mcTlw3DCMUL nKZ7fQvsyQGOcgIGotiwaQtr/bglCww4tm2SYus8zpFUuxgXOMdSLnv5ZHYU5mctf2+Z 9lWzGwrrQI9P649vl65JJd3AAH4QRm1N2aS7KJ+QseHh7zfUYPIq/nRxNb1+VuSzOqtb XwlVvsrSg60zIwxAlNEEvjflNrILBDmh7GmIBGcRGt2Au6GcNir0fjrK5YQEkQ6fBbtY g98BlqiPXBY7RhuWi36tsoBpEJLRsHg4lRXsAJlHXiavch2yUA/Grni/sXGH2tl40zBI n20g== 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 f17si58582730pgh.552.2019.08.09.07.44.59; Fri, 09 Aug 2019 07:44:59 -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 S2407186AbfHIOo6 (ORCPT + 28 others); Fri, 9 Aug 2019 10:44:58 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:53237 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbfHIOo5 (ORCPT ); Fri, 9 Aug 2019 10:44:57 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M7ehh-1hwwfj3ddd-0084kM; Fri, 09 Aug 2019 16:44:47 +0200 From: Arnd Bergmann To: soc@kernel.org Cc: Vladimir Zapolskiy , Sylvain Lemieux , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , "David S. Miller" , netdev@vger.kernel.org Subject: [PATCH v2 10/13] net: lpc-enet: allow compile testing Date: Fri, 9 Aug 2019 16:40:36 +0200 Message-Id: <20190809144043.476786-11-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190809144043.476786-1-arnd@arndb.de> References: <20190809144043.476786-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:RCFvjeuu0t6f1S3c2jeBwyAit2sEKCe3winoluK8TV6k5NAoOUO 0HaU0UeVh1bfmegCwZ/LxZYBGuVQ+7eXPexo60SZ4/fhiQPq4crzC1qGmIJ/ZR2C10ryy8P +3n+Rbdz54ykoqC2GhA3rvwxeJ73S0gOOpx9LpPn+IDp8M7Qct4l2VjHj5K1QVYXDT4/g+1 gvS4O0eBreeQVVrF4XDYQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:vO1wbEWxD8I=:6+u3R4GfutAihcMR0mmONZ HP7bzqimvfTuINSG21LTieDz2KUv6efnOlbOGeMn/i80QZwho0TC8mAEWfJXPHxbAKDG5Suh4 RknDI+FhEgZXDXw+DJvO73m1TbsaSWq2ADaOzaNwMKz7Yz4pLjKnkyjMsAXyqXqCKvpsnzanG DgCK/RBBm1OyJ4pOqRVtrly4GqCbLNtqtqww+vCW+wF2UVLD8sfjRbflblvU3XjSkdb8lxMjW Od8LUDWA4Q/S4zjmOaM8r+7U6V1V9EUUhMU8ZmL7yMbEansGeMyI01jfvMSd/YY4eJ7Z5j9Mi 4uew4FuY2ITGLxTVi3UPQQVs+qsi8o/GhBVluXyBAkVbRigHeUHG8DvCn2LGcPkWDbBBtAs++ cnGw/LGJ1ElnskF8l3d/+52MiyvPTv7yNgPEPXW0G+JcTKe+NE3ZVT/64VkZrjVXr4w57wx5h v005eDqI5QkSiqRdjwzeJxgfoXeUsRsJrZtQtZyQOphMoQeJKZsR9dHCZBwq/ocx8x8bC7iGf BMS2ffpA+JkheWx0C7rTmkMzyAnIFPMYV/Po522SNNBCx4MlExhIzMw5aWwG5vujNXpeXtrSD 0WeGsWIjjNnImHwadAS1ScB4KbQd0Xcv7VSH83TABwqk/9+M0AiscaQ6OL6rauWRhnvvucmdq hJ4xCU1b0ilijKOsiP6+DOn9UJH6iQOSwn5qWI79J+uZC16GTA08mzqfWm9BYDLFzck/qhkE9 5iCn+1XwlD62XtNtWSIAMC5X1XYrH4ZPc/M73w== 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. Add one missing header inclusion that is required in some configurations. 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(-) -- 2.20.0 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 96d509c418bf..141571e2ec11 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