summaryrefslogtreecommitdiff
path: root/target/linux
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 /target/linux
parent00675abc3b83edeb821053cbfcaf399e56ee0c63 (diff)
downloadmtk-20170518-9759aba429fa748647c12d290a3b0624af4fdbb1.zip
mtk-20170518-9759aba429fa748647c12d290a3b0624af4fdbb1.tar.gz
mtk-20170518-9759aba429fa748647c12d290a3b0624af4fdbb1.tar.bz2
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
Diffstat (limited to 'target/linux')
-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 46273ed..0480d01 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 9ad7d05..ae0a772 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