mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
wireless: use __aligned
Use __aligned(...) instead of __attribute__((aligned(...))) in mac80211 and cfg80211. Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
parent
ec61cd63dd
commit
1c06ef9831
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue