summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-09-14 05:26:12 +0200
committerJonathan Cameron <jic23@kernel.org>2015-09-23 21:23:25 +0200
commitd38d54692d454e4dded125677e39f53514dc4277 (patch)
treeb22f6892d501fe8470936d139c37faa4c8a44d09 /drivers/iio/industrialio-core.c
parentiio: chemical: Add IIO_CONCENTRATION channel type (diff)
downloadlinux-d38d54692d454e4dded125677e39f53514dc4277.tar.xz
linux-d38d54692d454e4dded125677e39f53514dc4277.zip
iio: resistance: add IIO_RESISTANCE channel type
Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
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 ee09a945a2c7..208358f9e7e3 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -76,6 +76,7 @@ static const char * const iio_chan_type_name_spec[] = {
[IIO_DISTANCE] = "distance",
[IIO_VELOCITY] = "velocity",
[IIO_CONCENTRATION] = "concentration",
+ [IIO_RESISTANCE] = "resistance",
};
static const char * const iio_modifier_names[] = {