diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-11-20 13:36:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-20 21:26:38 +0000 |
commit | c4f0c6936762ecd6b453275611a785dfdee0d417 (patch) | |
tree | dda78d1d4c27ca0144185cc2316556ca1551ed74 /include/linux/iio | |
parent | 484a0bf091c93c379e6524a17bb037c33c898e01 (diff) | |
download | op-kernel-dev-c4f0c6936762ecd6b453275611a785dfdee0d417.zip op-kernel-dev-c4f0c6936762ecd6b453275611a785dfdee0d417.tar.gz |
iio: Add pressure channel type
This patch adds support for a new IIO channel type for pressure measurements.
This can for example be used for barometric pressure sensors.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h index 87b196a..88bf0f0 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h @@ -28,6 +28,7 @@ enum iio_chan_type { IIO_CAPACITANCE, IIO_ALTVOLTAGE, IIO_CCT, + IIO_PRESSURE, }; enum iio_modifier { |