diff options
author | Barry Song <Barry.Song@analog.com> | 2010-05-12 18:34:06 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-14 20:20:35 (GMT) |
commit | 089a41985c6c7e69c8fe043c0dd397da628254f5 (patch) | |
tree | c99efb55efd5eaa3704c60473101e7c1835b144b /drivers/staging/iio/gyro/gyro.h | |
parent | 935e99fb0739aa64d0dd7e8a0bc82faec5d8f830 (diff) | |
download | linux-fsl-qoriq-089a41985c6c7e69c8fe043c0dd397da628254f5.tar.xz |
staging: iio: adis16260 digital gyro driver
Signed-off-by: Barry Song <Barry.Song@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/gyro/gyro.h')
-rw-r--r-- | drivers/staging/iio/gyro/gyro.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/gyro/gyro.h b/drivers/staging/iio/gyro/gyro.h index 16f6ffa..f68edab 100644 --- a/drivers/staging/iio/gyro/gyro.h +++ b/drivers/staging/iio/gyro/gyro.h @@ -39,3 +39,5 @@ #define IIO_DEV_ATTR_GYRO_Z(_show, _addr) \ IIO_DEVICE_ATTR(gyro_z_raw, S_IRUGO, _show, NULL, _addr) +#define IIO_DEV_ATTR_ANGL(_show, _addr) \ + IIO_DEVICE_ATTR(angl_raw, S_IRUGO, _show, NULL, _addr) |