From: Andrew Lunn Date: Sun, 2 Apr 2017 18:20:47 +0000 (+0200) Subject: net/faraday: Add missing include of of.h X-Git-Tag: v3.18.101~41 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6b7c30eb364d34225fb96c0b3f9addb200936de4;p=thirdparty%2Fkernel%2Fstable.git net/faraday: Add missing include of of.h [ Upstream commit d39004ab136ebb6949a7dda9d24376f3d6209295 ] 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 Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index c77fa4a698445..0900fd5098eb5 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