From: Roland Vossen Date: Tue, 13 Sep 2011 07:49:44 +0000 (+0200) Subject: staging: brcm80211: fix for fullmac build problem X-Git-Tag: firefly_0821_release~3680^2~4313^2^2~482 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7d16c0ffff8cf8fbe915aa7cafbeadcff70a81bf;p=firefly-linux-kernel-4.4.55.git staging: brcm80211: fix for fullmac build problem Fullmac had a build error for CONFIG_PM_SLEEP=n Reviewed-by: Arend van Spriel Signed-off-by: Roland Vossen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c index 0aff62d89a61..7cb8f3f5a96c 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c @@ -49,12 +49,10 @@ static const struct sdio_device_id brcmf_sdmmc_ids[] = { }; MODULE_DEVICE_TABLE(sdio, brcmf_sdmmc_ids); -#ifdef CONFIG_PM_SLEEP static DECLARE_WAIT_QUEUE_HEAD(sdioh_request_byte_wait); static DECLARE_WAIT_QUEUE_HEAD(sdioh_request_word_wait); static DECLARE_WAIT_QUEUE_HEAD(sdioh_request_packet_wait); static DECLARE_WAIT_QUEUE_HEAD(sdioh_request_buffer_wait); -#endif /* CONFIG_PM_SLEEP */ static bool brcmf_pm_resume_error(struct brcmf_sdio_dev *sdiodev)