kernel: iio: fix st-accel missing dependency
authorPetr Štetiar <ynezz@true.cz>
Mon, 2 Mar 2020 07:40:48 +0000 (08:40 +0100)
committerPetr Štetiar <ynezz@true.cz>
Mon, 2 Mar 2020 07:44:02 +0000 (08:44 +0100)
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 <ynezz@true.cz>
package/kernel/linux/modules/iio.mk

index a7e97084e987b7cab84292aeae7ff8d98e92eebb..0d30321d70d3a4daee2e718063914ff8bdb08818 100644 (file)
@@ -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