net/faraday: Explicitly include linux/of.h and linux/property.h
authorMark Brown <broonie@kernel.org>
Thu, 30 Mar 2017 16:00:12 +0000 (17:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Apr 2017 19:14:00 +0000 (12:14 -0700)
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>
drivers/net/ethernet/faraday/ftgmac100.c

index 928b0df..ade6b3e 100644 (file)
 #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>