linux/drivers/net/wireless
Arnd Bergmann 6af1de2e4e ath10k: mark PM functions as __maybe_unused
When CONFIG_PM_SLEEP is disabled, we get a compile-time
warning:

drivers/net/wireless/ath/ath10k/pci.c:3417:12: error: 'ath10k_pci_pm_resume' defined but not used [-Werror=unused-function]
 static int ath10k_pci_pm_resume(struct device *dev)
            ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath10k/pci.c:3401:12: error: 'ath10k_pci_pm_suspend' defined but not used [-Werror=unused-function]
 static int ath10k_pci_pm_suspend(struct device *dev)

Rather than fixing the #ifdef, this just marks both functions
as __maybe_unused, which is a more robust way to do this.

Fixes: 32faa3f0ee ("ath10k: add the PCI PM core suspend/resume ops")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2017-09-21 18:01:30 +03:00
..
admtek networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
ath ath10k: mark PM functions as __maybe_unused 2017-09-21 18:01:30 +03:00
atmel at76c50x: constify usb_device_id 2017-08-10 11:55:57 +03:00
broadcom brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices 2017-09-08 12:25:24 +03:00
cisco wireless: airo: remove unnecessary static in writerids() 2017-07-19 16:33:57 -07:00
intel iwlwifi: mvm: fix reorder buffer for 9000 devices 2017-09-08 11:52:51 +03:00
intersil p54: constify usb_device_id 2017-08-10 11:55:58 +03:00
marvell mwifiex: check for NL80211_SCAN_FLAG_RANDOM_ADDR during hidden SSID scan 2017-08-17 09:59:40 +03:00
mediatek mt7601u: check memory allocation failure 2017-08-24 12:54:33 +03:00
quantenna qtnfmac: implement 64-bit dma support 2017-08-31 15:57:40 +03:00
ralink rt2800: fix TX_PIN_CFG setting for non MT7620 chips 2017-08-30 19:50:09 +03:00
realtek rtlwifi: btcoexist: Fix antenna selection code 2017-09-07 15:55:56 +03:00
rsi rsi: remove memset before memcpy 2017-08-30 19:51:29 +03:00
st cw1200: add const to hwbus_ops structures 2017-06-28 21:17:46 +03:00
ti wl1251: add a missing spin_lock_init() 2017-08-31 13:11:15 -07:00
zydas zd1211rw: constify usb_device_id 2017-08-10 11:56:04 +03:00
Kconfig qtnfmac: introduce new FullMAC driver for Quantenna chipsets 2017-05-24 17:04:13 +03:00
mac80211_hwsim.c mac80211_hwsim: Use proper TX power 2017-09-05 11:28:52 +02:00
mac80211_hwsim.h mac80211_hwsim: fix command documentation indentation 2017-03-06 09:21:48 +01:00
Makefile qtnfmac: introduce new FullMAC driver for Quantenna chipsets 2017-05-24 17:04:13 +03:00
ray_cs.c ray_cs: Avoid reading past end of buffer 2017-05-22 18:27:22 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c Another set of patches for -next: 2017-04-28 14:41:15 -04:00
wl3501_cs.c wl3501_cs: fix spelling mistake: "Insupported" -> "Unsupported" 2017-07-28 18:06:31 +03:00
wl3501.h