summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/sx_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/proximity/sx_common.h')
-rw-r--r--drivers/iio/proximity/sx_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/proximity/sx_common.h b/drivers/iio/proximity/sx_common.h
index fb14e6f06a6d..259b5c695233 100644
--- a/drivers/iio/proximity/sx_common.h
+++ b/drivers/iio/proximity/sx_common.h
@@ -125,7 +125,7 @@ struct sx_common_data {
/* Ensure correct alignment of timestamp when present. */
struct {
__be16 channels[SX_COMMON_MAX_NUM_CHANNELS];
- s64 ts __aligned(8);
+ aligned_s64 ts;
} buffer;
unsigned int suspend_ctrl;