From patchwork Thu Mar 30 16:00:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 104422 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp305996qgd; Thu, 30 Mar 2017 09:01:03 -0700 (PDT) X-Received: by 10.84.210.11 with SMTP id z11mr494431plh.11.1490889663610; Thu, 30 Mar 2017 09:01:03 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j126si2535712pfc.51.2017.03.30.09.01.03; Thu, 30 Mar 2017 09:01:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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 netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934065AbdC3QA4 (ORCPT + 6 others); Thu, 30 Mar 2017 12:00:56 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:40766 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933464AbdC3QAz (ORCPT ); Thu, 30 Mar 2017 12:00:55 -0400 Received: from [2001:470:1f1d:6b5::3] (helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ctcVD-00043m-2v; Thu, 30 Mar 2017 16:00:49 +0000 Received: from broonie by debutante with local (Exim 4.88) (envelope-from ) id 1ctcV9-0003s0-V5; Thu, 30 Mar 2017 17:00:43 +0100 From: Mark Brown To: "David S . Miller" , Joel Stanley , Gavin Shan Cc: netdev@vger.kernel.org, Mark Brown Date: Thu, 30 Mar 2017 17:00:12 +0100 Message-Id: <20170330160012.14824-1-broonie@kernel.org> X-Mailer: git-send-email 2.11.0 X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: [PATCH] net/faraday: Explicitly include linux/of.h and linux/property.h X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This driver uses interfaces from linux/of.h and linux/property.h but relies on implict inclusion of those headers which means that changes in other headers could break the build, as happened in -next for arm today. Add a explicit includes. Signed-off-by: Mark Brown --- drivers/net/ethernet/faraday/ftgmac100.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 928b0df2b8e0..ade6b3e4ed13 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -28,8 +28,10 @@ #include #include #include +#include #include #include +#include #include #include