diff options
author | Lorenzo Bianconi | 2018-10-07 11:45:20 +0200 |
---|---|---|
committer | Felix Fietkau | 2018-10-13 17:39:19 +0200 |
commit | d87cf75f11118367f2e85dd049be9cab22ae0138 (patch) | |
tree | 10e45813a106a02bf44c2277c855eee2c49a41c7 /drivers/net/wireless/mediatek/mt76/mt76x0 | |
parent | mt76: use mt76x02_dev instead of mt76_dev in mt76x02_phy.c (diff) | |
download | kernel-qcow2-linux-d87cf75f11118367f2e85dd049be9cab22ae0138.tar.gz kernel-qcow2-linux-d87cf75f11118367f2e85dd049be9cab22ae0138.tar.xz kernel-qcow2-linux-d87cf75f11118367f2e85dd049be9cab22ae0138.zip |
mt76: use mt76x02_dev instead of mt76_dev in mt76x02_util.c
Use mt76x02_dev data structure as reference in mt76x02_util.c
instead of mt76_dev
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/init.c b/drivers/net/wireless/mediatek/mt76/mt76x0/init.c index abd8313f22e7..578f1b34f0f1 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/init.c @@ -138,7 +138,7 @@ static void mt76x0_init_mac_registers(struct mt76x02_dev *dev) RANDOM_WRITE(dev, common_mac_reg_table); - mt76x02_set_beacon_offsets(&dev->mt76); + mt76x02_set_beacon_offsets(dev); /* Enable PBF and MAC clock SYS_CTRL[11:10] = 0x3 */ RANDOM_WRITE(dev, mt76x0_mac_reg_table); |