diff options
author | Harald Geyer <harald@ccbib.org> | 2013-12-01 15:08:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-03 20:22:29 +0000 |
commit | ac216aa290c48a5e9d7b9f2473abb977a175683a (patch) | |
tree | 9292b2f5794f8620eb19cc6c0f6f34be04b77fd5 /include/linux/iio | |
parent | 6f93910ebae3f0ca4c0db1ba098d1635618b9c2f (diff) | |
download | linux-stable-ac216aa290c48a5e9d7b9f2473abb977a175683a.tar.gz linux-stable-ac216aa290c48a5e9d7b9f2473abb977a175683a.tar.bz2 linux-stable-ac216aa290c48a5e9d7b9f2473abb977a175683a.zip |
iio: Add support for humidity sensors
There are already humidity sensors in the hwmon subsystem,
so we use their unit (milli percent) here as well.
Signed-off-by: Harald Geyer <harald@ccbib.org>
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 4ac928ee31c5..084d882fe01b 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h @@ -29,6 +29,7 @@ enum iio_chan_type { IIO_ALTVOLTAGE, IIO_CCT, IIO_PRESSURE, + IIO_HUMIDITYRELATIVE, }; enum iio_modifier { |