summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/hw.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-12-18 14:45:51 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2017-12-27 12:04:06 +0200
commit203dab8395d9a6b195cbadfec59ae4899aea13f9 (patch)
tree0a49dcb164b37d06b0db43cf19ce302eb7d32e59 /drivers/net/wireless/ath/ath10k/hw.h
parenta0709dfd7ff8cfd60ae7e1f9e81efbcedc936b05 (diff)
downloadlinux-203dab8395d9a6b195cbadfec59ae4899aea13f9.tar.bz2
wil6210: fix build warnings without CONFIG_PM
The #ifdef checks are hard to get right, in this case some functions should have been left inside a CONFIG_PM_SLEEP check as seen by this message: drivers/net/wireless/ath/wil6210/pcie_bus.c:489:12: error: 'wil6210_pm_resume' defined but not used [-Werror=unused-function] drivers/net/wireless/ath/wil6210/pcie_bus.c:484:12: error: 'wil6210_pm_suspend' defined but not used [-Werror=unused-function] Using an __maybe_unused is easier here, so I'm replacing all the other #ifdef in this file as well for consistency. Fixes: 94162666cd51 ("wil6210: run-time PM when interface down") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/hw.h')
0 files changed, 0 insertions, 0 deletions