diff mbox series

[LEDE-DEV,20/25] kernel: kmod-iio-bmp280: allow compile with kernel 4.14

Message ID 20171210221231.17193-21-hauke@hauke-m.de
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series Add support for kernel 4.14 | expand

Commit Message

Hauke Mehrtens Dec. 10, 2017, 10:12 p.m. UTC
This package also compiles with kernel 4.14.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 package/kernel/linux/modules/iio.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index 396ee7fbe4..8990e54813 100644
--- a/package/kernel/linux/modules/iio.mk
+++ b/package/kernel/linux/modules/iio.mk
@@ -74,7 +74,7 @@  $(eval $(call KernelPackage,iio-dht11))
 define KernelPackage/iio-bmp280
   SUBMENU:=$(IIO_MENU)
   TITLE:=BMP180/BMP280/BME280 pressure/temperatur sensor
-  DEPENDS:=@LINUX_4_9 +kmod-iio-core +kmod-regmap
+  DEPENDS:=@(LINUX_4_9||LINUX_4_14) +kmod-iio-core +kmod-regmap
   KCONFIG:=CONFIG_BMP280
   FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280.ko
 endef