summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ti-dac7311.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ti-dac7311.c')
-rw-r--r--drivers/iio/dac/ti-dac7311.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ti-dac7311.c b/drivers/iio/dac/ti-dac7311.c
index 4afc411725d9..7f89d2a52f49 100644
--- a/drivers/iio/dac/ti-dac7311.c
+++ b/drivers/iio/dac/ti-dac7311.c
@@ -52,7 +52,7 @@ struct ti_dac_chip {
bool powerdown;
u8 powerdown_mode;
u8 resolution;
- u8 buf[2] ____cacheline_aligned;
+ u8 buf[2] __aligned(IIO_DMA_MINALIGN);
};
static u8 ti_dac_get_power(struct ti_dac_chip *ti_dac, bool powerdown)