diff options
author | Mark Brown <broonie@kernel.org> | 2017-03-30 12:00:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-01 15:14:00 -0400 |
commit | 3af887c38f1ae0db66c00c4ee2e8a0b1e99ffc29 (patch) | |
tree | 8c7e9a93dc568e4e3d088bf464f6910081399344 | |
parent | b917078c1c107ce34264af893e436e6115eeb9f6 (diff) |
net/faraday: Explicitly include linux/of.h and linux/property.h
This driver uses interfaces from linux/of.h and linux/property.h but
relies on implict inclusion of those headers which means that changes in
other headers could break the build, as happened in -next for arm today.
Add a explicit includes.
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 928b0df2b8e0..ade6b3e4ed13 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c | |||
@@ -28,8 +28,10 @@ | |||
28 | #include <linux/io.h> | 28 | #include <linux/io.h> |
29 | #include <linux/module.h> | 29 | #include <linux/module.h> |
30 | #include <linux/netdevice.h> | 30 | #include <linux/netdevice.h> |
31 | #include <linux/of.h> | ||
31 | #include <linux/phy.h> | 32 | #include <linux/phy.h> |
32 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/property.h> | ||
33 | #include <net/ip.h> | 35 | #include <net/ip.h> |
34 | #include <net/ncsi.h> | 36 | #include <net/ncsi.h> |
35 | 37 | ||