rsi: move rsi_sdio_reinit_device() out of CONFIG_PM
authorAmitkumar Karwar <amit.karwar@redpinesignals.com>
Wed, 1 Nov 2017 12:12:44 +0000 (17:42 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 2 Nov 2017 17:38:14 +0000 (19:38 +0200)
commit39f1332c526cd9d6de59a72520e8334e54b62cda
tree84c9cad297b63566476a8f8acc7fd8fece012937
parentdb5c6d4a9b92f0bc64cedb667043af23a81dae7c
rsi: move rsi_sdio_reinit_device() out of CONFIG_PM

This function is generic. It doesn't contain wowlan specific code.
It should not be under CONFIG_PM. This patch resolves compilation
errors observed when CONFIG_PM flag is disabled.

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_sdio.c
drivers/net/wireless/rsi/rsi_sdio.h