mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
7fd299e3c9
commit
d5459efaaf
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user