aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/adxl313_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/adxl313_core.c')
-rw-r--r--drivers/iio/accel/adxl313_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/adxl313_core.c b/drivers/iio/accel/adxl313_core.c
index 9e4193e64765..afeef779e1d0 100644
--- a/drivers/iio/accel/adxl313_core.c
+++ b/drivers/iio/accel/adxl313_core.c
@@ -46,7 +46,7 @@ EXPORT_SYMBOL_NS_GPL(adxl313_writable_regs_table, IIO_ADXL313);
struct adxl313_data {
struct regmap *regmap;
struct mutex lock; /* lock to protect transf_buf */
- __le16 transf_buf ____cacheline_aligned;
+ __le16 transf_buf __aligned(IIO_DMA_MINALIGN);
};
static const int adxl313_odr_freqs[][2] = {