diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-03-18 11:21:44 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:58 +0200 |
commit | 37426fb67a017f0140e529fe4b09e490989cdbf0 (patch) | |
tree | b7d006e5426b901ff351a4babf6a1fd0dbd2ba51 /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 41634aa8d6db9346121f58eed5d94511cdcb0976 (diff) | |
download | lwn-37426fb67a017f0140e529fe4b09e490989cdbf0.tar.gz lwn-37426fb67a017f0140e529fe4b09e490989cdbf0.zip |
mt76: move mac_work in mt76_dev
Move mac_work delayed work in mt76_dev data structure since
it is used by all drivers and it will be reused adding mac work to
mt7615
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index c35305ad2d12..21c24a31bb61 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -448,6 +448,7 @@ struct mt76_dev { int tx_dma_idx[4]; struct tasklet_struct tx_tasklet; + struct delayed_work mac_work; wait_queue_head_t tx_wait; struct sk_buff_head status_list; |