ath5k: fix 2ghz-only radio handling on ar5312
[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 @@ -199,6 +199,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 @@ -375,6 +376,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.041098 seconds and 5 git commands to generate.