OSDN Git Service

net/faraday: Add missing include of of.h
authorAndrew Lunn <andrew@lunn.ch>
Sun, 2 Apr 2017 18:20:47 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:46 +0000 (09:17 +0100)
commit6e09b864df341b5c9321593514f173d8a049952b
tree1b553d082fdffc51b5deddf90181c70b3fa309c7
parent9c1e8b472b48421e8a698bd63cda283960ef5279
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 <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/faraday/ftgmac100.c