diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2013-07-21 01:32:24 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2013-07-21 01:32:24 +0200 |
commit | 7e138534861e8f4925aa6eb701b5abe0d9365cc6 (patch) | |
tree | faba3c49a2baf42148239484378ac4081c923041 | |
parent | af80b2f681feb880b6507a6c7208def7d42c580e (diff) | |
download | kernel_goldelico_gta04-7e138534861e8f4925aa6eb701b5abe0d9365cc6.zip kernel_goldelico_gta04-7e138534861e8f4925aa6eb701b5abe0d9365cc6.tar.gz kernel_goldelico_gta04-7e138534861e8f4925aa6eb701b5abe0d9365cc6.tar.bz2 |
MERGE
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
-rw-r--r-- | drivers/staging/iio/gyro/itg3200_core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/iio/gyro/itg3200_core.c b/drivers/staging/iio/gyro/itg3200_core.c index 0845c66..a612a65 100644 --- a/drivers/staging/iio/gyro/itg3200_core.c +++ b/drivers/staging/iio/gyro/itg3200_core.c @@ -458,13 +458,13 @@ static const struct iio_info itg3200_info = { .driver_module = THIS_MODULE, }; -#define ITG3200_CHANNEL(axis, add) \ - { \ - .type = IIO_ANGL_VEL, \ - .modified = 1, \ - .channel2 = IIO_MOD_##axis, \ - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,\ - .address = add, \ +#define ITG3200_CHANNEL(axis, add) \ + { \ + .type = IIO_ANGL_VEL, \ + .modified = 1, \ + .channel2 = IIO_MOD_##axis, \ + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \ + .address = add, \ } static const struct iio_chan_spec itg3200_channels[] = { |