add a comment requiring the mt76_dev struct to be the first member of the driver struct

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2015-12-16 17:53:37 +01:00
parent 42b9c4db0a
commit 8ca7f984de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ struct mt7603_mcu {
};
struct mt7603_dev {
struct mt76_dev mt76;
struct mt76_dev mt76; /* must be first */
struct mutex mutex;
struct cfg80211_chan_def chandef;
+1 -1
View File
@@ -97,7 +97,7 @@ struct mt76x2_rate_power {
};
struct mt76x2_dev {
struct mt76_dev mt76;
struct mt76_dev mt76; /* must be first */
u8 macaddr[ETH_ALEN];
struct mac_address macaddr_list[8];