diff options
author | Takashi Sakamoto <[email protected]> | 2024-08-14 22:12:20 +0900 |
---|---|---|
committer | Takashi Sakamoto <[email protected]> | 2024-08-14 22:12:20 +0900 |
commit | 56a4832c9f2e46e380ee1979a02f44b115598bf3 (patch) | |
tree | b45a34f08bdfe238dd99338a1ff929c453f2dfef | |
parent | d9f6c64e03c2fd5bfe8e03f806b8e56d9cf112e4 (diff) |
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/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>
-rw-r--r-- | drivers/firewire/ohci.c | 2 |
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) |