]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
staging: brcm80211: fix for fullmac build problem
authorRoland Vossen <rvossen@broadcom.com>
Tue, 13 Sep 2011 07:49:44 +0000 (09:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:41:52 +0000 (20:41 +0200)
Fullmac had a build error for CONFIG_PM_SLEEP=n

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c

index 0aff62d89a6177d18fe7d80b3ac74c8cb6accb44..7cb8f3f5a96c46210673167f1eb4f9ec2406bc4a 100644 (file)
@@ -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)