drivers:iio:stm:imu:st_lsm6dso16is: add lsm6dso16is device to kernel build

The st_lsm6dso16is driver was not included in the kernel build
because it was not added in the top level Kconfig/Makefile,
furthermore the default config contained a typo.

In lsm6dso16is_defconfig there is a wrong device name,
this fix enables lsm6dso16is module compilation.

Signed-off-by: mariotesi <mario.tesi@st.com>
Change-Id: I92df0ca4c3e29af6bcaef5ce80a78d494672ef00
Reviewed-on: https://gerrit.st.com/c/linuxandroidopen/stm-ldd-iio/+/325964
Reviewed-by: Matteo DAMENO <matteo.dameno@st.com>
Tested-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
This commit is contained in:
mariotesi 2023-09-05 11:39:23 +02:00 committed by Matteo DAMENO
parent 8b346fe8b2
commit 015ea32b3b
3 changed files with 5 additions and 3 deletions

View File

@ -16,5 +16,6 @@ source "drivers/iio/stm/imu/st_lsm6ds3/Kconfig"
source "drivers/iio/stm/imu/st_lsm6ds3h/Kconfig"
source "drivers/iio/stm/imu/st_lsm6dsm/Kconfig"
source "drivers/iio/stm/imu/st_lsm6dsvx/Kconfig"
source "drivers/iio/stm/imu/st_lsm6dso16is/Kconfig"
endmenu

View File

@ -14,3 +14,4 @@ obj-y += st_lsm6ds3/
obj-y += st_lsm6ds3h/
obj-y += st_lsm6dsm/
obj-y += st_lsm6dsvx/
obj-y += st_lsm6dso16is/

View File

@ -1,3 +1,3 @@
CONFIG_IIO_ST_LSM6DSOX=m
CONFIG_IIO_ST_LSM6DSOX_I2C=m
CONFIG_IIO_ST_LSM6DSOX_SPI=m
CONFIG_IIO_ST_LSM6DSO16IS=m
CONFIG_IIO_ST_LSM6DSO16IS_I2C=m
CONFIG_IIO_ST_LSM6DSO16IS_SPI=m