treewide: fix replace nbd@openwrt.org with nbd@nbd.name
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-rb4xx.c
index 1a61b45..ae0a772 100644 (file)
 
 #include <linux/platform_device.h>
 #include <linux/irq.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/mmc/host.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/flash.h>