ar71xx: fix build error
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Apr 2016 22:03:58 +0000 (22:03 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Apr 2016 22:03:58 +0000 (22:03 +0000)
This fixes a build error introduced in r49193.

This closes #22230

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49194

target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c
target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c

index 46273eddbadea2b9605853889eea3f0e0f4aafff..0480d01e2c16af755b61750fe275984ca0b69b73 100644 (file)
@@ -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
index 9ad7d05c10fddb8ba0aab84ba255959d6446c183..ae0a772d5bc315b0368f87dd6b70f9110a91c06f 100644 (file)
@@ -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