summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-09-13 20:26:12 -0700
committerJonathan Cameron <jic23@kernel.org>2015-09-23 20:23:25 +0100
commitd38d54692d454e4dded125677e39f53514dc4277 (patch)
treeb22f6892d501fe8470936d139c37faa4c8a44d09 /drivers/iio/industrialio-core.c
parent8ff6b3bc9493089247e012a9fcba7198e194b4a5 (diff)
downloadtalos-op-linux-d38d54692d454e4dded125677e39f53514dc4277.tar.gz
talos-op-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[] = {
OpenPOWER on IntegriCloud