From: Petr Štetiar Date: Mon, 2 Mar 2020 07:40:48 +0000 (+0100) Subject: kernel: iio: fix st-accel missing dependency X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4642c4864ef4c8df1749073f6fb6d2de5f51beef;p=openwrt%2Fstaging%2Fjogo.git kernel: iio: fix st-accel missing dependency Fixes following build error on mpc85xx/p2020: Package kmod-iio-st_accel is missing dependencies for the following libraries: regmap-core.ko Fixes: 2d8f4c4fbd46 ("kernel: iio: add st-accel driver modules") Signed-off-by: Petr Štetiar --- diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index a7e97084e9..0d30321d70 100644 --- a/package/kernel/linux/modules/iio.mk +++ b/package/kernel/linux/modules/iio.mk @@ -281,7 +281,7 @@ $(eval $(call KernelPackage,iio-si7020)) define KernelPackage/iio-st_accel SUBMENU:=$(IIO_MENU) TITLE:=STMicroelectronics accelerometer 3-Axis Driver - DEPENDS:=+kmod-iio-core + DEPENDS:=+kmod-iio-core +kmod-regmap-core KCONFIG:= \ CONFIG_IIO_ST_ACCEL_3AXIS \ CONFIG_IIO_ST_SENSORS_CORE