aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@freemail.hu>2018-01-09 14:59:14 +0100
committerJohn Crispin <john@phrozen.org>2018-01-17 11:07:17 +0100
commitec4e9a88ffaf12ed36a0c9ed1a48d8417c47865a (patch)
tree5dc766344453b95c72e43bced527fadb8ef13207 /target/linux
parentd3afd2a400344789cba90b8e1063949f500862a9 (diff)
downloadupstream-ec4e9a88ffaf12ed36a0c9ed1a48d8417c47865a.tar.gz
upstream-ec4e9a88ffaf12ed36a0c9ed1a48d8417c47865a.tar.bz2
upstream-ec4e9a88ffaf12ed36a0c9ed1a48d8417c47865a.zip
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 <sven.eckelmann@openmesh.com> Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c6
1 files changed, 0 insertions, 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 <linux/gpio.h>
-#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
-#include <linux/mdio-gpio.h>
-#else
-#include <linux/platform_data/mdio-gpio.h>
-#endif
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/platform_device.h>