summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2016-05-25 06:29:19 +0200
committerJonathan Cameron <jic23@kernel.org>2016-05-29 21:03:21 +0200
commit4b9d2090a444d44f16788b9ad60180011d133f97 (patch)
tree60654495441e71bacd5819ed5f0ecc53c9c3115f /drivers/iio/industrialio-core.c
parentiio: chemical: atlas-ph-sensor: reorg driver to allow multiple chips (diff)
downloadlinux-4b9d2090a444d44f16788b9ad60180011d133f97.tar.xz
linux-4b9d2090a444d44f16788b9ad60180011d133f97.zip
iio: electricalconductivity: add IIO_ELECTRICALCONDUCTIVITY 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 e6319a9346b2..2a85bd888619 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -80,6 +80,7 @@ static const char * const iio_chan_type_name_spec[] = {
[IIO_RESISTANCE] = "resistance",
[IIO_PH] = "ph",
[IIO_UVINDEX] = "uvindex",
+ [IIO_ELECTRICALCONDUCTIVITY] = "electricalconductivity",
};
static const char * const iio_modifier_names[] = {