summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/st_pressure.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-16 18:02:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-09-21 20:24:05 +0200
commit7885a8ce6800ec37147902b316cd73790865dc1d (patch)
tree59bd36172a3f51e4c31298ef652cec8bfc776971 /drivers/iio/pressure/st_pressure.h
parentiio: pressure-core: st: Clean-up probe() function (diff)
downloadlinux-7885a8ce6800ec37147902b316cd73790865dc1d.tar.xz
linux-7885a8ce6800ec37147902b316cd73790865dc1d.zip
iio: pressure: st: Add support for new LPS001WP pressure sensor
Here we use existing practices to introduce support for another pressure/temperature sensor, the LPS001WP. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/st_pressure.h')
-rw-r--r--drivers/iio/pressure/st_pressure.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h
index b0b630688da6..049c21acf1f0 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -14,6 +14,7 @@
#include <linux/types.h>
#include <linux/iio/common/st_sensors.h>
+#define LPS001WP_PRESS_DEV_NAME "lps001wp"
#define LPS331AP_PRESS_DEV_NAME "lps331ap"
/**