summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-04-17 22:03:58 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2016-04-17 22:03:58 +0000
commit9759aba429fa748647c12d290a3b0624af4fdbb1 (patch)
treef299ceb7c138456da409537bb8e26e0bfeb63720
parent00675abc3b83edeb821053cbfcaf399e56ee0c63 (diff)
downloadmaster-31e0f0ae-9759aba429fa748647c12d290a3b0624af4fdbb1.tar.gz
master-31e0f0ae-9759aba429fa748647c12d290a3b0624af4fdbb1.tar.bz2
master-31e0f0ae-9759aba429fa748647c12d290a3b0624af4fdbb1.zip
ar71xx: fix build error
This fixes a build error introduced in r49193. This closes #22230 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49194
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c1
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c1
2 files changed, 2 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 46273eddba..0480d01e2c 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c
@@ -11,6 +11,7 @@
*/
#include <linux/gpio.h>
+#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
#include <linux/mdio-gpio.h>
#else
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
index 9ad7d05c10..ae0a772d5b 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
@@ -11,6 +11,7 @@
#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