Commit d141ab77 authored by Denis CIOCCA's avatar Denis CIOCCA Committed by Jonathan Cameron

iio:pressure: Adds LPS001WP support also on spi interface and Kconfig fix

Signed-off-by: default avatarDenis Ciocca <denis.ciocca@st.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent de06b344
...@@ -14,7 +14,7 @@ config IIO_ST_PRESS ...@@ -14,7 +14,7 @@ config IIO_ST_PRESS
select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
help help
Say yes here to build support for STMicroelectronics pressure Say yes here to build support for STMicroelectronics pressure
sensors: LPS331AP. sensors: LPS001WP, LPS331AP.
This driver can also be built as a module. If so, these modules This driver can also be built as a module. If so, these modules
will be created: will be created:
......
...@@ -48,6 +48,7 @@ static int st_press_spi_remove(struct spi_device *spi) ...@@ -48,6 +48,7 @@ static int st_press_spi_remove(struct spi_device *spi)
} }
static const struct spi_device_id st_press_id_table[] = { static const struct spi_device_id st_press_id_table[] = {
{ LPS001WP_PRESS_DEV_NAME },
{ LPS331AP_PRESS_DEV_NAME }, { LPS331AP_PRESS_DEV_NAME },
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment