diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2016-03-20 16:20:22 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-03 12:14:00 +0200 |
commit | 2c5ff1f9a6240d7d2d0928021cb76e421d6aacaf (patch) | |
tree | 56ae9ee88bef295ad91810dc5d7ee6a765a9c240 /tools/iio | |
parent | iio: ina2xx-adc: fix scale for VShunt (diff) | |
download | linux-2c5ff1f9a6240d7d2d0928021cb76e421d6aacaf.tar.xz linux-2c5ff1f9a6240d7d2d0928021cb76e421d6aacaf.zip |
iio: Add modifier for UV light
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio')
-rw-r--r-- | tools/iio/iio_event_monitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index 90980f586f7a..8d7d9797480b 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -93,6 +93,7 @@ static const char * const iio_modifier_names[] = { [IIO_MOD_LIGHT_RED] = "red", [IIO_MOD_LIGHT_GREEN] = "green", [IIO_MOD_LIGHT_BLUE] = "blue", + [IIO_MOD_LIGHT_UV] = "uv", [IIO_MOD_QUATERNION] = "quaternion", [IIO_MOD_TEMP_AMBIENT] = "ambient", [IIO_MOD_TEMP_OBJECT] = "object", @@ -172,6 +173,7 @@ static bool event_is_known(struct iio_event_data *event) case IIO_MOD_LIGHT_RED: case IIO_MOD_LIGHT_GREEN: case IIO_MOD_LIGHT_BLUE: + case IIO_MOD_LIGHT_UV: case IIO_MOD_QUATERNION: case IIO_MOD_TEMP_AMBIENT: case IIO_MOD_TEMP_OBJECT: |