summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/iio.h
diff options
context:
space:
mode:
authorJonathan Cameron2011-08-30 13:41:11 +0200
committerGreg Kroah-Hartman2011-09-07 01:00:27 +0200
commit1e8dfcc6c3d36dabc77925104fc5769f79340be5 (patch)
tree5c77fd9e2b37dd1dfb30bb84914ad3ecba805916 /drivers/staging/iio/iio.h
parentstaging:iio: fix typo (diff)
downloadkernel-qcow2-linux-1e8dfcc6c3d36dabc77925104fc5769f79340be5.tar.gz
kernel-qcow2-linux-1e8dfcc6c3d36dabc77925104fc5769f79340be5.tar.xz
kernel-qcow2-linux-1e8dfcc6c3d36dabc77925104fc5769f79340be5.zip
staging:iio:trivial add a string array for IIO_RAW and IIO_PROCESSED.
Introduce IIO_RAW and IIO_PROCESSED and an array for their strings. Also move one function to just above where it is called. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/iio.h')
-rw-r--r--drivers/staging/iio/iio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h
index 098d827a7901..1c24d1389251 100644
--- a/drivers/staging/iio/iio.h
+++ b/drivers/staging/iio/iio.h
@@ -22,6 +22,11 @@
* Currently assumes nano seconds.
*/
+enum iio_data_type {
+ IIO_RAW,
+ IIO_PROCESSED,
+};
+
enum iio_chan_type {
/* real channel types */
IIO_IN,