From: Mark Brown Date: Thu, 30 Mar 2017 16:00:12 +0000 (+0100) Subject: net/faraday: Explicitly include linux/of.h and linux/property.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3af887c38f1ae0db66c00c4ee2e8a0b1e99ffc29;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Joel Stanley Signed-off-by: David S. Miller --- 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 #include #include +#include #include #include +#include #include #include