]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
net/faraday: Add missing include of of.h
authorAndrew Lunn <andrew@lunn.ch>
Sun, 2 Apr 2017 18:20:47 +0000 (20:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Apr 2017 01:58:08 +0000 (18:58 -0700)
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>
drivers/net/ethernet/faraday/ftgmac100.c

index 928b0df2b8e033e2b784759e32a0218e0b7e16f2..333265060de14350a818f2fafb014e0d42c565ce 100644 (file)
@@ -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>