aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c4
1 files changed, 4 insertions, 0 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 587ca32601..46273eddba 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c
@@ -11,7 +11,11 @@
*/
#include <linux/gpio.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>