summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/max1241.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/max1241.c')
-rw-r--r--drivers/iio/adc/max1241.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/max1241.c b/drivers/iio/adc/max1241.c
index a5afd84af58b..a815ad1f6913 100644
--- a/drivers/iio/adc/max1241.c
+++ b/drivers/iio/adc/max1241.c
@@ -26,7 +26,7 @@ struct max1241 {
struct regulator *vref;
struct gpio_desc *shutdown;
- __be16 data ____cacheline_aligned;
+ __be16 data __aligned(IIO_DMA_MINALIGN);
};
static const struct iio_chan_spec max1241_channels[] = {