summaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2016-01-26 18:34:30 -0800
committerJonathan Cameron <jic23@kernel.org>2016-01-30 16:27:17 +0000
commitecb3a7ccc653fc8007edd0591d32d839386673f1 (patch)
tree36a6cc38498db92fffeccc4889280315d933e555 /drivers/iio/industrialio-core.c
parent5f9c95d8516e9383f545be6f7178eef8aea008c8 (diff)
downloadlinux-ecb3a7ccc653fc8007edd0591d32d839386673f1.tar.gz
iio: ph: add IIO_PH 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 fd01f3493fc7..eb01a83a5b7c 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -77,6 +77,7 @@ static const char * const iio_chan_type_name_spec[] = {
[IIO_VELOCITY] = "velocity",
[IIO_CONCENTRATION] = "concentration",
[IIO_RESISTANCE] = "resistance",
+ [IIO_PH] = "ph",
};
static const char * const iio_modifier_names[] = {