aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2012-05-11 05:36:53 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 16:15:39 -0400
commitb65d62122fa57035fae06a78e0b65622a1e1bc34 (patch)
tree31c746cb35d4f8e6f354f089c6d1849b5be68c15 /drivers/iio
parent67eedba39ed1ac29908453647652c02fbbeeca1b (diff)
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 425cd4cf31fb..86f34600a3aa 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[] = {
91 [IIO_CHAN_INFO_SAMP_FREQ] = "sampling_frequency", 91 [IIO_CHAN_INFO_SAMP_FREQ] = "sampling_frequency",
92 [IIO_CHAN_INFO_FREQUENCY] = "frequency", 92 [IIO_CHAN_INFO_FREQUENCY] = "frequency",
93 [IIO_CHAN_INFO_PHASE] = "phase", 93 [IIO_CHAN_INFO_PHASE] = "phase",
94 [IIO_CHAN_INFO_HARDWAREGAIN] = "hardwaregain",
94}; 95};
95 96
96const struct iio_chan_spec 97const struct iio_chan_spec