diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2012-02-15 19:48:02 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-24 12:10:03 -0800 |
commit | ad2c08b620aafc9362bd7a8a0fb828a9bb9386de (patch) | |
tree | 79282324d29fd9686a850fd7ae0983d408dbd671 /drivers/staging/iio/types.h | |
parent | e27d75d71c0dbbab83768c6e327d13f445d0214f (diff) |
staging:iio: move iio data return types into types.h for use by inkern
In kernel interfaces need these, so make them available.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/types.h')
-rw-r--r-- | drivers/staging/iio/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/iio/types.h b/drivers/staging/iio/types.h index b7d26474ad06..0c3213666901 100644 --- a/drivers/staging/iio/types.h +++ b/drivers/staging/iio/types.h @@ -46,4 +46,8 @@ enum iio_modifier { IIO_MOD_LIGHT_IR, }; +#define IIO_VAL_INT 1 +#define IIO_VAL_INT_PLUS_MICRO 2 +#define IIO_VAL_INT_PLUS_NANO 3 + #endif /* _IIO_TYPES_H_ */ |