diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2016-03-20 16:20:23 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-03 11:14:01 +0100 |
commit | d409404cf6e201c2980c7148484c350f33a7912e (patch) | |
tree | 97d2af968afc1cba701df20eade71fc6409f5a6a /drivers/iio | |
parent | 2c5ff1f9a6240d7d2d0928021cb76e421d6aacaf (diff) | |
download | op-kernel-dev-d409404cf6e201c2980c7148484c350f33a7912e.zip op-kernel-dev-d409404cf6e201c2980c7148484c350f33a7912e.tar.gz |
iio: Add channel for UV index
UV index indicating strength of sunburn-producing ultraviolet (UV) radiation
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/industrialio-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 88353ae..190a593 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -79,6 +79,7 @@ static const char * const iio_chan_type_name_spec[] = { [IIO_CONCENTRATION] = "concentration", [IIO_RESISTANCE] = "resistance", [IIO_PH] = "ph", + [IIO_UVINDEX] = "uvindex", }; static const char * const iio_modifier_names[] = { |