From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: [patch net-next] net/faraday: Add missing include of of.h Date: Sun, 2 Apr 2017 20:20:47 +0200 Message-ID: <1491157247-5072-1-git-send-email-andrew@lunn.ch> Cc: netdev , Andrew Lunn To: David Miller Return-path: Received: from vps0.lunn.ch ([178.209.37.122]:43162 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353AbdDBSVH (ORCPT ); Sun, 2 Apr 2017 14:21:07 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Breaking the include loop netdevice.h, dsa.h, devlink.h broke this driver, it depends on includes brought in by these headers. Adding linux/of.h fixes it. Fixes: ed0e39e97d34 ("net: break include loop netdevice.h, dsa.h, devlink.h") Signed-off-by: Andrew Lunn --- drivers/net/ethernet/faraday/ftgmac100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 928b0df2b8e0..333265060de1 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include -- 2.11.0