aboutsummaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2012-12-28 12:22:02 +0100
committerGravatar Johannes Berg <johannes.berg@intel.com> 2013-01-03 13:01:44 +0100
commit1c06ef9831c78648f719a174e4598ae2600b0cf7 (patch)
treec4e5fd59f7d3dc9d0f360701348b86065f08d13c /net/wireless
parentmac80211: support HT notify channel width action (diff)
downloadlinux-1c06ef9831c78648f719a174e4598ae2600b0cf7.tar.gz
linux-1c06ef9831c78648f719a174e4598ae2600b0cf7.tar.bz2
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 'net/wireless')
-rw-r--r--net/wireless/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index b8f4630c6ada..f342267e3620 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -89,7 +89,7 @@ struct cfg80211_registered_device {
/* must be last because of the way we do wiphy_priv(),
* and it should at least be aligned to NETDEV_ALIGN */
- struct wiphy wiphy __attribute__((__aligned__(NETDEV_ALIGN)));
+ struct wiphy wiphy __aligned(NETDEV_ALIGN);
};
static inline