]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mt76: add priv pointer to struct mt76_phy
authorFelix Fietkau <nbd@nbd.name>
Wed, 30 Oct 2019 19:33:05 +0000 (20:33 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:03:09 +0000 (10:03 +0100)
Will be used for per-phy driver private data

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h

index 49289b50eacfdc067b392e7cab1a3c1b24794190..5d385505d8047a6d8bad56d6c4b8c2e6bba03090 100644 (file)
@@ -457,6 +457,7 @@ struct mt76_rx_status {
 struct mt76_phy {
        struct ieee80211_hw *hw;
        struct mt76_dev *dev;
+       void *priv;
 
        unsigned long state;