OSDN Git Service

rsi: fix kbuild reported build errors with CONFIG_PM off
authorAmitkumar Karwar <amit.karwar@redpinesignals.com>
Wed, 1 Nov 2017 12:12:45 +0000 (17:42 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 2 Nov 2017 17:38:14 +0000 (19:38 +0200)
commite6b3b2ed3d270b3c7080c9cf7d28636dc74b0387
treed4dfe0781be7a8b9b60c0587cfc65588565292ae
parent39f1332c526cd9d6de59a72520e8334e54b62cda
rsi: fix kbuild reported build errors with CONFIG_PM off

Some wowlan related code was outside CONFIG_PM flag which caused these
build errors. They are fixed by moving that code under CONFIG_PM flag.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: ef71ed0608c ("rsi: sdio: Add WOWLAN support for S5 shutdown state")
Fixes: a24e35fcee0 ("rsi: sdio: Add WOWLAN support for S4 hibernate state")
Fixes: e1ced6422a3 ("rsi: sdio: add WOWLAN support for S3 suspend state")
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c
drivers/net/wireless/rsi/rsi_91x_mgmt.c
drivers/net/wireless/rsi/rsi_common.h
drivers/net/wireless/rsi/rsi_mgmt.h