openwrtv3/target/linux/ar71xx/files/drivers
Koen Vandeputte 743654f30d ar71xx: add missing include for checking kernel version
Fixes these build errors:

arch/mips/ath79/mach-rb2011.c:20:5: error: "LINUX_VERSION_CODE" is not defined, evaluates to 0 [-Werror=undef]
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
     ^~~~~~~~~~~~~~~~~~
arch/mips/ath79/mach-rb2011.c:20:26: error: "KERNEL_VERSION" is not defined, evaluates to 0 [-Werror=undef]
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
                          ^~~~~~~~~~~~~~
arch/mips/ath79/mach-rb2011.c:20:40: error: missing binary operator before token "("
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
                                        ^

Fixes: 318e19ba67 ("ar71xx: add v4.14 support")

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2018-08-22 13:11:52 +02:00
..
gpio ar71xx: remove obsolete '< KERNEL_VERSION(3, 15, 0)' checks 2018-01-09 21:33:18 +01:00
leds ar71xx: fix section mismatches 2017-10-11 22:36:04 +02:00
mtd ar71xx: add v4.14 support 2018-08-22 08:09:00 +02:00
net ar71xx: add missing include for checking kernel version 2018-08-22 13:11:52 +02:00
spi ar71xx: spi-rb4xx: balance clk_prepare_enable() call 2017-12-24 09:03:01 +01:00