Commit 81f302fd authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Felix Fietkau
Browse files

mt76: mt7921: make mt7921_pci_driver static



mt7921_pci_driver struct is only referenced in mt7921/pci.c so make it
static.

Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 4aa8e0a4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -272,7 +272,6 @@ mt7921_hw_dev(struct ieee80211_hw *hw)
	mt76_connac_mutex_release(&(dev)->mt76, &(dev)->pm)

extern const struct ieee80211_ops mt7921_ops;
extern struct pci_driver mt7921_pci_driver;

u32 mt7921_reg_map(struct mt7921_dev *dev, u32 addr);

+1 −1
Original line number Diff line number Diff line
@@ -489,7 +489,7 @@ static int mt7921_pci_resume(struct pci_dev *pdev)
}
#endif /* CONFIG_PM */

struct pci_driver mt7921_pci_driver = {
static struct pci_driver mt7921_pci_driver = {
	.name		= KBUILD_MODNAME,
	.id_table	= mt7921_pci_device_table,
	.probe		= mt7921_pci_probe,