aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2017-04-02 20:20:47 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-03 18:58:08 -0700
commitd39004ab136ebb6949a7dda9d24376f3d6209295 (patch)
tree73ea8a386768182a285af9f5748e9362ad04f12e /drivers
parentvxlan: fix ND proxy when skb doesn't have transport header offset (diff)
downloadlinux-dev-d39004ab136ebb6949a7dda9d24376f3d6209295.tar.xz
linux-dev-d39004ab136ebb6949a7dda9d24376f3d6209295.zip
net/faraday: Add missing include of of.h
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 <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/faraday/ftgmac100.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/io.h>
#include <linux/module.h>
#include <linux/netdevice.h>
+#include <linux/of.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <net/ip.h>