summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorMaxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>2018-07-19 22:26:24 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-07-23 20:18:10 +0200
commitc0e4e0fd952b73bf6aae67e92b9a496a52837eb9 (patch)
tree4c5ef33e221eec88ea8acafaf25a2b68133cab15 /drivers/iio/industrialio-core.c
parentiio: light: isl29501: Add support for the ISL29501 ToF sensor. (diff)
downloadlinux-c0e4e0fd952b73bf6aae67e92b9a496a52837eb9.tar.xz
linux-c0e4e0fd952b73bf6aae67e92b9a496a52837eb9.zip
iio: Add modifier for DUV light
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
-rw-r--r--drivers/iio/industrialio-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
index a16ad5a4ab0c..a062cfddc5af 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -110,6 +110,7 @@ static const char * const iio_modifier_names[] = {
[IIO_MOD_LIGHT_GREEN] = "green",
[IIO_MOD_LIGHT_BLUE] = "blue",
[IIO_MOD_LIGHT_UV] = "uv",
+ [IIO_MOD_LIGHT_DUV] = "duv",
[IIO_MOD_QUATERNION] = "quaternion",
[IIO_MOD_TEMP_AMBIENT] = "ambient",
[IIO_MOD_TEMP_OBJECT] = "object",