From: Hauke Mehrtens Date: Mon, 13 Nov 2017 21:19:43 +0000 (+0100) Subject: kernel: kmod-iio-bmp280: allow compile with kernel 4.14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0b9ec8e546558cb8f558eca620730d8a6f4b345;p=openwrt%2Fstaging%2Faparcar.git kernel: kmod-iio-bmp280: allow compile with kernel 4.14 This package also compiles with kernel 4.14. Signed-off-by: Hauke Mehrtens --- 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