From 142b1473c85b1625e28effb0d94c8657064a0a13 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 5 Sep 2025 14:06:19 -0500 Subject: [PATCH] media: pci: mg4b: use aligned_s64 Use aligned_s64 for IIO timestamp field instead of explicit __align(). This is the convention used throughout the IIO subsystem. No functional change. Suggested-by: Jonathan Cameron Closes: https://lore.kernel.org/linux-iio/20250724115610.011110fb@jic23-huawei/ Signed-off-by: David Lechner Reviewed-by: Jonathan Cameron Signed-off-by: Hans Verkuil --- drivers/media/pci/mgb4/mgb4_trigger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/pci/mgb4/mgb4_trigger.c b/drivers/media/pci/mgb4/mgb4_trigger.c index d7dddc5c8728e..bed8bbd4bc595 100644 --- a/drivers/media/pci/mgb4/mgb4_trigger.c +++ b/drivers/media/pci/mgb4/mgb4_trigger.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "mgb4_core.h" #include "mgb4_trigger.h" @@ -90,7 +91,7 @@ static irqreturn_t trigger_handler(int irq, void *p) struct trigger_data *st = iio_priv(indio_dev); struct { u32 data; - s64 ts __aligned(8); + aligned_s64 ts; } scan = { }; scan.data = mgb4_read_reg(&st->mgbdev->video, 0xA0); -- 2.47.3