diff options
author | Mark Brown <broonie@kernel.org> | 2017-03-30 17:00:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-01 12:14:00 -0700 |
commit | 3af887c38f1ae0db66c00c4ee2e8a0b1e99ffc29 (patch) | |
tree | 8c7e9a93dc568e4e3d088bf464f6910081399344 /drivers/net | |
parent | b917078c1c107ce34264af893e436e6115eeb9f6 (diff) | |
download | linux-3af887c38f1ae0db66c00c4ee2e8a0b1e99ffc29.tar.bz2 |
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>
Diffstat (limited to 'drivers/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 @@ #include <linux/io.h> #include <linux/module.h> #include <linux/netdevice.h> +#include <linux/of.h> #include <linux/phy.h> #include <linux/platform_device.h> +#include <linux/property.h> #include <net/ip.h> #include <net/ncsi.h> |