]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1de3d5b8c02e816d69bb21693cf2b180374a3ba
tree73ea8a386768182a285af9f5748e9362ad04f12e
parentb0aae3d70c3b99ce23c3fb5dfa569efabb9492dc
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>
drivers/net/ethernet/faraday/ftgmac100.c