linux-stable/drivers/net/wireless
Arnd Bergmann 836856e3bd wireless: cw1200: use __maybe_unused to hide pm functions_
The cw1200 uses #ifdef to check for CONFIG_PM, but then
uses SIMPLE_DEV_PM_OPS, which leaves the references out when
CONFIG_PM_SLEEP is not defined, so we get a warning with
PM=y && PM_SLEEP=n:

drivers/net/wireless/st/cw1200/cw1200_spi.c:450:12: error: 'cw1200_spi_suspend' defined but not used [-Werror=unused-function]

This removes the incorrect #ifdef and instead uses a __maybe_unused
annotation to let the compiler know it can silently drop
the function definition.

For the DEV_PM_OPS definition, we can use an IS_ENABLED() check
to avoid defining the structure when CONFIG_PM is not set without
the #ifdef.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-03-08 12:32:52 +02:00
..
admtek adm80211: move under admtek vendor directory 2015-11-17 19:49:19 +02:00
ath carl9170: import 1.9.9 firmware headers 2016-03-07 14:11:09 +02:00
atmel at76c50x-usb: avoid double usb_put_dev() after downloading internal firmware in at76_probe() 2016-03-07 14:24:06 +02:00
broadcom brcmfmac: add 802.11w management frame protection support 2016-03-07 14:15:59 +02:00
cisco wireless: airo: re-use mac_pton() 2015-11-30 14:59:28 +02:00
intel * add support for thermal device / cooling device (Chaya Rachel) 2016-03-07 15:48:56 +02:00
intersil hostap: avoid uninitialized variable use in hfa384x_get_rid 2016-02-06 13:59:24 +02:00
marvell mwifiex: Added missing spaces around brackets 2016-03-07 14:31:24 +02:00
mediatek mt7601u: do not free dma_buf when ivp allocation fails 2016-03-07 14:39:05 +02:00
ralink rt2x00: add new rt2800usb device Buffalo WLI-UC-G450 2016-03-07 14:27:35 +02:00
realtek rtlwifi: Fix size of wireless mode variable 2016-03-08 12:31:17 +02:00
rsi mac80211: pass block ack session timeout to to driver 2016-01-14 11:13:17 +01:00
st wireless: cw1200: use __maybe_unused to hide pm functions_ 2016-03-08 12:32:52 +02:00
ti Here's another round of updates for -next: 2016-03-01 17:03:27 -05:00
zydas zd1211rw: move under zydas vendor directory 2015-11-18 14:28:30 +02:00
Kconfig mac80211_hwsim: move Kconfig entry for sorting alphabetically 2015-11-18 15:23:36 +02:00
mac80211_hwsim.c mac80211_hwsim: use reset to set mac header 2016-03-04 22:45:13 -05:00
mac80211_hwsim.h
Makefile ath: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: fix checking for default value 2015-09-22 16:14:32 -07:00
wl3501.h
wl3501_cs.c