diff options
author | Matt Ranostay <mranostay@gmail.com> | 2015-09-13 20:26:12 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 20:23:25 +0100 |
commit | d38d54692d454e4dded125677e39f53514dc4277 (patch) | |
tree | b22f6892d501fe8470936d139c37faa4c8a44d09 /drivers/iio | |
parent | 8ff6b3bc9493089247e012a9fcba7198e194b4a5 (diff) | |
download | linux-d38d54692d454e4dded125677e39f53514dc4277.tar.bz2 |
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')
-rw-r--r-- | drivers/iio/industrialio-core.c | 1 |
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[] = { |