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: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
4aa8e0a475
commit
81f302fdef
|
@ -272,7 +272,6 @@ mt7921_hw_dev(struct ieee80211_hw *hw)
|
||||||
mt76_connac_mutex_release(&(dev)->mt76, &(dev)->pm)
|
mt76_connac_mutex_release(&(dev)->mt76, &(dev)->pm)
|
||||||
|
|
||||||
extern const struct ieee80211_ops mt7921_ops;
|
extern const struct ieee80211_ops mt7921_ops;
|
||||||
extern struct pci_driver mt7921_pci_driver;
|
|
||||||
|
|
||||||
u32 mt7921_reg_map(struct mt7921_dev *dev, u32 addr);
|
u32 mt7921_reg_map(struct mt7921_dev *dev, u32 addr);
|
||||||
|
|
||||||
|
|
|
@ -489,7 +489,7 @@ static int mt7921_pci_resume(struct pci_dev *pdev)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PM */
|
#endif /* CONFIG_PM */
|
||||||
|
|
||||||
struct pci_driver mt7921_pci_driver = {
|
static struct pci_driver mt7921_pci_driver = {
|
||||||
.name = KBUILD_MODNAME,
|
.name = KBUILD_MODNAME,
|
||||||
.id_table = mt7921_pci_device_table,
|
.id_table = mt7921_pci_device_table,
|
||||||
.probe = mt7921_pci_probe,
|
.probe = mt7921_pci_probe,
|
||||||
|
|
Loading…
Reference in New Issue