ath9k: fix a null pointer deref issue
[openwrt.git] / package / mac80211 / patches / 600-rt2x00-disable-pci-code-if-CONFIG_PCI-not-defined.patch
1 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c
2 +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
3 @@ -202,6 +202,7 @@ void rt2x00pci_uninitialize(struct rt2x0
4 }
5 EXPORT_SYMBOL_GPL(rt2x00pci_uninitialize);
6
7 +#ifdef CONFIG_PCI
8 /*
9 * PCI driver handlers.
10 */
11 @@ -381,6 +382,7 @@ int rt2x00pci_resume(struct pci_dev *pci
12 }
13 EXPORT_SYMBOL_GPL(rt2x00pci_resume);
14 #endif /* CONFIG_PM */
15 +#endif /* CONFIG_PCI */
16
17 /*
18 * rt2x00pci module information.
This page took 0.038691 seconds and 5 git commands to generate.