From ad2c08b620aafc9362bd7a8a0fb828a9bb9386de Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Wed, 15 Feb 2012 19:48:02 +0000 Subject: 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 Acked-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/staging/iio/types.h') diff --git a/drivers/staging/iio/types.h b/drivers/staging/iio/types.h index b7d2647..0c32136 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_ */ -- cgit v1.1