Commit 56a4832c authored by Takashi Sakamoto's avatar Takashi Sakamoto

firewire: ohci: use helper macro for compiler aligned attribute

The __aligned() macro has been available since v4.19 kernel by a commit
815f0ddb ("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.jpSigned-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
parent d9f6c64e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment