summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-08-14 15:12:20 +0200
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-08-14 15:12:20 +0200
commit56a4832c9f2e46e380ee1979a02f44b115598bf3 (patch)
treeb45a34f08bdfe238dd99338a1ff929c453f2dfef /drivers/firewire
parentfirewire: core: use xarray instead of idr to maintain client resource (diff)
downloadlinux-56a4832c9f2e46e380ee1979a02f44b115598bf3.tar.xz
linux-56a4832c9f2e46e380ee1979a02f44b115598bf3.zip
firewire: ohci: use helper macro for compiler aligned attribute
The __aligned() macro has been available since v4.19 kernel by a commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). This commit replaces with the macro. Link: https://lore.kernel.org/r/20240814131222.69949-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index e1d24e0ec991..198c96d75155 100644
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -77,7 +77,7 @@ struct descriptor {
__le32 branch_address;
__le16 res_count;
__le16 transfer_status;
-} __attribute__((aligned(16)));
+} __aligned(16);
#define CONTROL_SET(regs) (regs)
#define CONTROL_CLEAR(regs) ((regs) + 4)