linux_old1/drivers/net/wireless/ti/wlcore
Arnd Bergmann 7de241f3b7 wlcore: fix unused function warning
The newly added wlcore_fw_sleep function is called conditionally,
which causes a warning without CONFIG_PM:

drivers/net/wireless/ti/wlcore/main.c:981:12: error: 'wlcore_fw_sleep' defined but not used [-Werror=unused-function]

Instead of trying to keep track of what should be in the #ifdef and what
should not, it's easier to mark the top-level suspend/resume functions
as __maybe_unused so the compiler can silently drop all the unused code.

Fixes: 37bf241b8e ("wlcore: allow elp during wowlan suspend")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-12-14 14:44:31 +02:00
..
Kconfig wlcore/wl12xx: spi: add device tree support 2016-01-29 11:10:10 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
acx.c wlcore, wl1251: fix spelling: "Couldnt" -> "Couldn't" and remove error on -ENOMEM 2017-12-07 15:24:32 +02:00
acx.h wlcore: fix unused function warning 2017-12-14 14:44:31 +02:00
boot.c wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00
boot.h
cmd.c mac80211: use QoS NDP for AP probing 2017-11-27 11:23:20 +01:00
cmd.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
conf.h wlcore: split wl12xx/wl18xx sg parameters 2015-12-11 13:10:59 +02:00
debug.h
debugfs.c wlcore: use memdup_user 2017-05-18 16:41:23 +03:00
debugfs.h
event.c mac80211: Pass new RSSI level in CQM RSSI notification 2017-02-08 10:43:04 +01:00
event.h wlcore/wl18xx: fw logger over sdio 2015-12-31 10:19:47 +02:00
hw_ops.h
ini.h
init.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
init.h wlcore: add p2p device support 2015-08-10 22:16:34 +03:00
io.c wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
io.h wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
main.c wlcore: fix unused function warning 2017-12-14 14:44:31 +02:00
ps.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
ps.h
rx.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
rx.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
scan.c mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
scan.h wl18xx: use long intervals in sched scan 2015-08-10 22:16:21 +03:00
sdio.c wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
spi.c wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
sysfs.c wlcore: add const to bin_attribute structure 2017-08-08 14:52:35 +03:00
sysfs.h
testmode.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
testmode.h
tx.c wlcore: use boottime for fw time sync 2017-12-07 15:20:01 +02:00
tx.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
vendor_cmd.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
vendor_cmd.h
wl12xx_80211.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wlcore.h wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
wlcore_i.h wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00