linux_dsm_epyc7002/drivers/net/wireless/ti
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
..
wl12xx wlcore/wl12xx: Fix fw logger over sdio 2016-05-11 21:26:15 +03:00
wl18xx wl18xx: add checks on wl18xx_top_reg_write() return value 2017-06-28 21:18:40 +03:00
wl1251 wlcore, wl1251: fix spelling: "Couldnt" -> "Couldn't" and remove error on -ENOMEM 2017-12-07 15:24:32 +02:00
wlcore wlcore: fix unused function warning 2017-12-14 14:44:31 +02:00
Kconfig ti: unify Kconfig with other vendors 2015-11-18 14:28:31 +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
wilink_platform_data.c wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00