summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2012-05-11 11:36:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 13:15:39 -0700
commitb65d62122fa57035fae06a78e0b65622a1e1bc34 (patch)
tree31c746cb35d4f8e6f354f089c6d1849b5be68c15 /drivers/iio
parent67eedba39ed1ac29908453647652c02fbbeeca1b (diff)
downloadop-kernel-dev-b65d62122fa57035fae06a78e0b65622a1e1bc34.zip
op-kernel-dev-b65d62122fa57035fae06a78e0b65622a1e1bc34.tar.gz
iio: core: introduce IIO_CHAN_INFO_HARDWAREGAIN
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio')
-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 425cd4c..86f3460 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -91,6 +91,7 @@ static const char * const iio_chan_info_postfix[] = {
[IIO_CHAN_INFO_SAMP_FREQ] = "sampling_frequency",
[IIO_CHAN_INFO_FREQUENCY] = "frequency",
[IIO_CHAN_INFO_PHASE] = "phase",
+ [IIO_CHAN_INFO_HARDWAREGAIN] = "hardwaregain",
};
const struct iio_chan_spec
OpenPOWER on IntegriCloud