aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 1f74360b527c..e5f085c89221 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1256,7 +1256,7 @@ struct cfg80211_bss {
1256 1256
1257 u8 bssid[ETH_ALEN]; 1257 u8 bssid[ETH_ALEN];
1258 1258
1259 u8 priv[0] __attribute__((__aligned__(sizeof(void *)))); 1259 u8 priv[0] __aligned(sizeof(void *));
1260}; 1260};
1261 1261
1262/** 1262/**
@@ -2392,7 +2392,7 @@ struct wiphy {
2392 const struct iw_handler_def *wext; 2392 const struct iw_handler_def *wext;
2393#endif 2393#endif
2394 2394
2395 char priv[0] __attribute__((__aligned__(NETDEV_ALIGN))); 2395 char priv[0] __aligned(NETDEV_ALIGN);
2396}; 2396};
2397 2397
2398static inline struct net *wiphy_net(struct wiphy *wiphy) 2398static inline struct net *wiphy_net(struct wiphy *wiphy)