From ec4e9a88ffaf12ed36a0c9ed1a48d8417c47865a Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 9 Jan 2018 14:59:14 +0100 Subject: [PATCH] ar71xx: drop mdio-gpio.h include from mach-om5pacv2.c The setup code of the OpenMesh OM5P ACv2 device uses nothing from the mdio-gpio.h header, so remove the inclusion of that. Also remove the kernel version check which is needed only because the mdio-gpio.h header exists in a different path in older kernels. Compile tested only. Cc: Sven Eckelmann Signed-off-by: Gabor Juhos --- target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c index 0480d01e2c..1ab24f9339 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c @@ -11,12 +11,6 @@ */ #include -#include -#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) -#include -#else -#include -#endif #include #include #include