diff options
-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[] = { |