summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-08-04 12:57:02 -0700
committerDavid S. Miller <davem@davemloft.net>2020-08-04 12:57:02 -0700
commitcabf06e5a275dde2a336c71536465b30ccf2ae4d (patch)
treeae1f65051c45a1bf217e86e33e41412dcfb40178 /drivers/net/wireless/ralink/rt2x00/rt2x00pci.h
parent93f4ddd64b7dca8279ad052e0d58d92b67c33907 (diff)
parent2cfd71f1a43e9e1053db6c84f2dc33fe88128f67 (diff)
downloadlwn-cabf06e5a275dde2a336c71536465b30ccf2ae4d.tar.gz
lwn-cabf06e5a275dde2a336c71536465b30ccf2ae4d.zip
Merge tag 'wireless-drivers-next-2020-08-04' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
Kalle Valo says: ==================== wireless-drivers-next patches for v5.9 Second set of patches for v5.9. mt76 has most of patches this time. Otherwise it's just smaller fixes and cleanups to other drivers. There was a major conflict in mt76 driver between wireless-drivers and wireless-drivers-next. I solved that by merging the former to the latter. Major changes: rtw88 * add support for ieee80211_ops::change_interface * add support for enabling and disabling beacon * add debugfs file for testing h2c mt76 * ARP filter offload for 7663 * runtime power management for 7663 * testmode support for mfg calibration * support for more channels ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ralink/rt2x00/rt2x00pci.h')
-rw-r--r--drivers/net/wireless/ralink/rt2x00/rt2x00pci.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h b/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h
index fd955ccaa1e6..27f7b2bd26ea 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h
@@ -21,12 +21,7 @@
*/
int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops);
void rt2x00pci_remove(struct pci_dev *pci_dev);
-#ifdef CONFIG_PM
-int rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state);
-int rt2x00pci_resume(struct pci_dev *pci_dev);
-#else
-#define rt2x00pci_suspend NULL
-#define rt2x00pci_resume NULL
-#endif /* CONFIG_PM */
+
+extern const struct dev_pm_ops rt2x00pci_pm_ops;
#endif /* RT2X00PCI_H */