summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg2012-12-28 12:22:02 +0100
committerJohannes Berg2013-01-03 13:01:44 +0100
commit1c06ef9831c78648f719a174e4598ae2600b0cf7 (patch)
treec4e5fd59f7d3dc9d0f360701348b86065f08d13c /include/net/mac80211.h
parentmac80211: support HT notify channel width action (diff)
downloadkernel-qcow2-linux-1c06ef9831c78648f719a174e4598ae2600b0cf7.tar.gz
kernel-qcow2-linux-1c06ef9831c78648f719a174e4598ae2600b0cf7.tar.xz
kernel-qcow2-linux-1c06ef9831c78648f719a174e4598ae2600b0cf7.zip
wireless: use __aligned
Use __aligned(...) instead of __attribute__((aligned(...))) in mac80211 and cfg80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index a464f4fb36a0..23daed3c78ed 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -173,7 +173,7 @@ struct ieee80211_chanctx_conf {
u8 rx_chains_static, rx_chains_dynamic;
- u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
+ u8 drv_priv[0] __aligned(sizeof(void *));
};
/**
@@ -1059,7 +1059,7 @@ struct ieee80211_vif {
u32 driver_flags;
/* must be last */
- u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
+ u8 drv_priv[0] __aligned(sizeof(void *));
};
static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif)
@@ -1209,7 +1209,7 @@ struct ieee80211_sta {
u8 max_sp;
/* must be last */
- u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
+ u8 drv_priv[0] __aligned(sizeof(void *));
};
/**