Files
linux/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
..
2017-12-14 14:44:31 +02:00
2017-11-27 11:23:20 +01:00
2016-04-12 15:56:15 +02:00
2017-05-18 16:41:23 +03:00
2015-12-31 10:19:47 +02:00
2015-01-09 15:48:01 +02:00
2015-08-10 22:16:34 +03:00
2016-05-11 21:26:15 +03:00
2016-05-11 21:26:15 +03:00
2017-12-14 14:44:31 +02:00
2016-04-12 15:56:15 +02:00
2016-04-12 15:56:15 +02:00
2017-12-07 15:20:01 +02:00
2016-04-12 15:56:15 +02:00