Skip to content

Commit 56a4832

Browse files
committed
firewire: ohci: use helper macro for compiler aligned attribute
The __aligned() macro has been available since v4.19 kernel by a commit 815f0dd ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). This commit replaces with the macro. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Sakamoto <[email protected]>
1 parent d9f6c64 commit 56a4832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firewire/ohci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct descriptor {
7777
__le32 branch_address;
7878
__le16 res_count;
7979
__le16 transfer_status;
80-
} __attribute__((aligned(16)));
80+
} __aligned(16);
8181

8282
#define CONTROL_SET(regs) (regs)
8383
#define CONTROL_CLEAR(regs) ((regs) + 4)

0 commit comments

Comments
 (0)