8da8cb5da75760ea11186218eea79d0deabaa0c8
[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 @@ -225,6 +225,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 @@ -399,6 +400,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.046976 seconds and 3 git commands to generate.