From: Andrew Lunn Date: Sun, 2 Apr 2017 18:20:47 +0000 (+0200) Subject: net/faraday: Add missing include of of.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d39004ab136ebb6949a7dda9d24376f3d6209295;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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