summaryrefslogtreecommitdiffstats
path: root/include/net/wpan-phy.h
diff options
context:
space:
mode:
authorAlexander Aring2014-10-25 05:25:10 +0200
committerMarcel Holtmann2014-10-25 08:07:30 +0200
commit4896167d9761ede678c36999eea0450c355991d4 (patch)
treeac3d3d490a2e63a13a2b9827e40988d32838cefb /include/net/wpan-phy.h
parentmac802154: fix typo IEEE802515 to IEEE802154 (diff)
downloadkernel-qcow2-linux-4896167d9761ede678c36999eea0450c355991d4.tar.gz
kernel-qcow2-linux-4896167d9761ede678c36999eea0450c355991d4.tar.xz
kernel-qcow2-linux-4896167d9761ede678c36999eea0450c355991d4.zip
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: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/wpan-phy.h')
-rw-r--r--include/net/wpan-phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/wpan-phy.h b/include/net/wpan-phy.h
index 65a05f19eb68..fa827c923391 100644
--- a/include/net/wpan-phy.h
+++ b/include/net/wpan-phy.h
@@ -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)