summaryrefslogtreecommitdiff
path: root/drivers/iio/light/as73211.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/as73211.c')
-rw-r--r--drivers/iio/light/as73211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/light/as73211.c b/drivers/iio/light/as73211.c
index 11fbdcdd26d6..36f6f2eb53b2 100644
--- a/drivers/iio/light/as73211.c
+++ b/drivers/iio/light/as73211.c
@@ -642,8 +642,8 @@ static irqreturn_t as73211_trigger_handler(int irq __always_unused, void *p)
struct as73211_data *data = iio_priv(indio_dev);
struct {
__le16 chan[4];
- s64 ts __aligned(8);
- } scan;
+ aligned_s64 ts;
+ } scan = { };
int data_result, ret;
mutex_lock(&data->mutex);