staging:iio: add quadrature correction to chan info types.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 12 Aug 2011 16:47:53 +0000 (17:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:32:46 +0000 (13:32 -0700)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/iio.h
drivers/staging/iio/industrialio-core.c

index d86a61024052bb71a9aacde6c51f8923770ac1c0..07f88aa878ab7a5e4c359a3f9b5c3ebbc9a7d64a 100644 (file)
@@ -1,3 +1,4 @@
+
 /* The industrial I/O core
  *
  * Copyright (c) 2008 Jonathan Cameron
@@ -75,6 +76,8 @@ enum iio_chan_info_enum {
        IIO_CHAN_INFO_PEAK_SEPARATE,
        IIO_CHAN_INFO_PEAK_SCALE_SHARED,
        IIO_CHAN_INFO_PEAK_SCALE_SEPARATE,
+       IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW_SHARED,
+       IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW_SEPARATE,
 };
 
 /**
index b4246491bfca8e1ed9d017418017051ca53959aa..364964b1a81526568cb28cfc5a9118a3c7a1e3f2 100644 (file)
@@ -85,6 +85,8 @@ static const char * const iio_chan_info_postfix[] = {
        [IIO_CHAN_INFO_CALIBBIAS_SHARED/2] = "calibbias",
        [IIO_CHAN_INFO_PEAK_SHARED/2] = "peak_raw",
        [IIO_CHAN_INFO_PEAK_SCALE_SHARED/2] = "peak_scale",
+       [IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW_SHARED/2]
+       = "quadrature_correction_raw",
 };
 
 /* Return a negative errno on failure */