aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-03-02 12:11:58 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-02 14:48:53 +0100
commitee92838dd2a777c94d70bb08a4cc983214367b18 (patch)
tree53aaeda85ffe66e4be521c8e856cb12ee87454eb /package/kernel
parenta5100a0bd1f405f975d41f56a96f5f9569c572f8 (diff)
downloadupstream-ee92838dd2a777c94d70bb08a4cc983214367b18.tar.gz
upstream-ee92838dd2a777c94d70bb08a4cc983214367b18.tar.bz2
upstream-ee92838dd2a777c94d70bb08a4cc983214367b18.zip
kernel: iio: fix st-accel dependencies properly
Add missing register map access SPI/I2C modules. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/iio.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index 0d30321d70..986838c0ae 100644
--- a/package/kernel/linux/modules/iio.mk
+++ b/package/kernel/linux/modules/iio.mk
@@ -303,7 +303,7 @@ $(eval $(call KernelPackage,iio-st_accel))
define KernelPackage/iio-st_sensors-i2c
SUBMENU:=$(IIO_MENU)
TITLE:=STMicroelectronics accelerometer 3-Axis Driver (I2C)
- DEPENDS:=+kmod-iio-st_accel +kmod-i2c-core
+ DEPENDS:=+kmod-iio-st_accel +kmod-i2c-core +kmod-regmap-i2c
KCONFIG:= CONFIG_IIO_ST_ACCEL_I2C_3AXIS
FILES:=$(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors_i2c.ko
AUTOLOAD:=$(call AutoLoad,56,st_sensors_i2c)
@@ -319,7 +319,7 @@ $(eval $(call KernelPackage,iio-st_sensors-i2c))
define KernelPackage/iio-st_sensors-spi
SUBMENU:=$(IIO_MENU)
TITLE:=STMicroelectronics accelerometer 3-Axis Driver (SPI)
- DEPENDS:=+kmod-iio-st_accel
+ DEPENDS:=+kmod-iio-st_accel +kmod-regmap-spi
KCONFIG:= CONFIG_IIO_ST_ACCEL_SPI_3AXIS
FILES:=$(LINUX_DIR)/drivers/iio/common/st_sensors/st_sensors_spi.ko
AUTOLOAD:=$(call AutoLoad,56,st_sensors_spi)