wireless: use __aligned

Use __aligned(...) instead of __attribute__((aligned(...)))
in mac80211 and cfg80211.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg
2012-12-28 12:22:02 +01:00
parent ec61cd63dd
commit 1c06ef9831
3 changed files with 6 additions and 6 deletions

View File

@ -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