ath9k: add a patch from linux-wireless@ for reducing driver size
[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 @@ -196,6 +196,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 @@ -372,6 +373,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.03966 seconds and 5 git commands to generate.