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>
このコミットが含まれているのは:
@@ -668,8 +668,10 @@ int rsi_band_check(struct rsi_common *common, struct ieee80211_channel *chan);
|
||||
int rsi_send_rx_filter_frame(struct rsi_common *common, u16 rx_filter_word);
|
||||
int rsi_send_radio_params_update(struct rsi_common *common);
|
||||
int rsi_set_antenna(struct rsi_common *common, u8 antenna);
|
||||
#ifdef CONFIG_PM
|
||||
int rsi_send_wowlan_request(struct rsi_common *common, u16 flags,
|
||||
u16 sleep_status);
|
||||
#endif
|
||||
int rsi_send_ps_request(struct rsi_hw *adapter, bool enable,
|
||||
struct ieee80211_vif *vif);
|
||||
#endif
|
||||
|
新しいイシューから参照
ユーザーをブロックする