mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
mt76x2: add static qualifier to mt76x2_init_hardware
Add static qualifier to mt76x2_init_hardware routine since it is used just in pci_init.c Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
9bc29420d7
commit
bf349ce16e
2 changed files with 1 additions and 2 deletions
|
|
@ -53,7 +53,6 @@ struct mt76x02_dev *mt76x2_alloc_device(struct device *pdev);
|
|||
int mt76x2_register_device(struct mt76x02_dev *dev);
|
||||
|
||||
void mt76x2_phy_power_on(struct mt76x02_dev *dev);
|
||||
int mt76x2_init_hardware(struct mt76x02_dev *dev);
|
||||
void mt76x2_stop_hardware(struct mt76x02_dev *dev);
|
||||
int mt76x2_eeprom_init(struct mt76x02_dev *dev);
|
||||
int mt76x2_apply_calibration_data(struct mt76x02_dev *dev, int channel);
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ mt76x2_power_on(struct mt76x02_dev *dev)
|
|||
mt76x2_power_on_rf(dev, 1);
|
||||
}
|
||||
|
||||
int mt76x2_init_hardware(struct mt76x02_dev *dev)
|
||||
static int mt76x2_init_hardware(struct mt76x02_dev *dev)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue