mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: move mt76x2_dev in mt76x02_util.h
Move mt76x2_dev in mt76x02_util.h and rename it in mt76x02_dev in order to be shared between mt76x2 and mt76x0 driver Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
a56efc55c1
commit
abd1daa150
+3
-3
@@ -24,7 +24,7 @@
|
||||
#include "../mt76x02_dma.h"
|
||||
|
||||
static int
|
||||
mt76pci_load_rom_patch(struct mt76x2_dev *dev)
|
||||
mt76pci_load_rom_patch(struct mt76x02_dev *dev)
|
||||
{
|
||||
const struct firmware *fw = NULL;
|
||||
struct mt76x02_patch_header *hdr;
|
||||
@@ -90,7 +90,7 @@ out:
|
||||
}
|
||||
|
||||
static int
|
||||
mt76pci_load_firmware(struct mt76x2_dev *dev)
|
||||
mt76pci_load_firmware(struct mt76x02_dev *dev)
|
||||
{
|
||||
const struct firmware *fw;
|
||||
const struct mt76x02_fw_header *hdr;
|
||||
@@ -166,7 +166,7 @@ error:
|
||||
return -ENOENT;
|
||||
}
|
||||
|
||||
int mt76x2_mcu_init(struct mt76x2_dev *dev)
|
||||
int mt76x2_mcu_init(struct mt76x02_dev *dev)
|
||||
{
|
||||
static const struct mt76_mcu_ops mt76x2_mcu_ops = {
|
||||
.mcu_msg_alloc = mt76x02_mcu_msg_alloc,
|
||||
|
||||
Reference in New Issue
Block a user