Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4896167d authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann
Browse files

ieee802154: wpan-phy: change to __aligned(size)



This patch fix a checkpatch warning that __aligned(size) is preferred
over __attribute__((aligned(size))).

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 57205c14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ struct wpan_phy {
			       u8 retries);
	int (*set_frame_retries)(struct wpan_phy *phy, s8 retries);

	char priv[0] __attribute__((__aligned__(NETDEV_ALIGN)));
	char priv[0] __aligned(NETDEV_ALIGN);
};

#define to_phy(_dev)	container_of(_dev, struct wpan_phy, dev)