diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2013-10-22 14:32:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-23 12:55:14 -0400 |
commit | d141ab776b670a0c9ac46b174f4c207a81f89f60 (patch) | |
tree | a060495b7fb8f257e7dea3ddedec456c2cee370f /drivers/iio | |
parent | de06b344acd57b206796ef86f66a53f72e10be0b (diff) |
iio:pressure: Adds LPS001WP support also on spi interface and Kconfig fix
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/pressure/Kconfig | 2 | ||||
-rw-r--r-- | drivers/iio/pressure/st_pressure_spi.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig index 26fdc0bdb99d..4f2e0f9bad8c 100644 --- a/drivers/iio/pressure/Kconfig +++ b/drivers/iio/pressure/Kconfig | |||
@@ -14,7 +14,7 @@ config IIO_ST_PRESS | |||
14 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) | 14 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) |
15 | help | 15 | help |
16 | Say yes here to build support for STMicroelectronics pressure | 16 | Say yes here to build support for STMicroelectronics pressure |
17 | sensors: LPS331AP. | 17 | sensors: LPS001WP, LPS331AP. |
18 | 18 | ||
19 | This driver can also be built as a module. If so, these modules | 19 | This driver can also be built as a module. If so, these modules |
20 | will be created: | 20 | will be created: |
diff --git a/drivers/iio/pressure/st_pressure_spi.c b/drivers/iio/pressure/st_pressure_spi.c index 399a29b6017b..27322af6d665 100644 --- a/drivers/iio/pressure/st_pressure_spi.c +++ b/drivers/iio/pressure/st_pressure_spi.c | |||
@@ -48,6 +48,7 @@ static int st_press_spi_remove(struct spi_device *spi) | |||
48 | } | 48 | } |
49 | 49 | ||
50 | static const struct spi_device_id st_press_id_table[] = { | 50 | static const struct spi_device_id st_press_id_table[] = { |
51 | { LPS001WP_PRESS_DEV_NAME }, | ||
51 | { LPS331AP_PRESS_DEV_NAME }, | 52 | { LPS331AP_PRESS_DEV_NAME }, |
52 | {}, | 53 | {}, |
53 | }; | 54 | }; |