summaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-09-14 06:26:12 +0300
committerJonathan Cameron <jic23@kernel.org>2015-09-23 22:23:25 +0300
commitd38d54692d454e4dded125677e39f53514dc4277 (patch)
treeb22f6892d501fe8470936d139c37faa4c8a44d09 /drivers/iio/industrialio-core.c
parent8ff6b3bc9493089247e012a9fcba7198e194b4a5 (diff)
downloadlinux-d38d54692d454e4dded125677e39f53514dc4277.tar.xz
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[] = {