aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-28 06:22:02 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 07:01:44 -0500
commit1c06ef9831c78648f719a174e4598ae2600b0cf7 (patch)
treec4e5fd59f7d3dc9d0f360701348b86065f08d13c /include/net/mac80211.h
parentec61cd63dd3f3bf982180b2bcc1b325160d73837 (diff)
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 {
173 173
174 u8 rx_chains_static, rx_chains_dynamic; 174 u8 rx_chains_static, rx_chains_dynamic;
175 175
176 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); 176 u8 drv_priv[0] __aligned(sizeof(void *));
177}; 177};
178 178
179/** 179/**
@@ -1059,7 +1059,7 @@ struct ieee80211_vif {
1059 u32 driver_flags; 1059 u32 driver_flags;
1060 1060
1061 /* must be last */ 1061 /* must be last */
1062 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); 1062 u8 drv_priv[0] __aligned(sizeof(void *));
1063}; 1063};
1064 1064
1065static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) 1065static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif)
@@ -1209,7 +1209,7 @@ struct ieee80211_sta {
1209 u8 max_sp; 1209 u8 max_sp;
1210 1210
1211 /* must be last */ 1211 /* must be last */
1212 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); 1212 u8 drv_priv[0] __aligned(sizeof(void *));
1213}; 1213};
1214 1214
1215/** 1215/**