compat-wireless: deactivate sido suspend for brcmfmac on older kernels.
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 18 Jul 2011 17:36:13 +0000 (19:36 +0200)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 20 Jul 2011 01:10:21 +0000 (18:10 -0700)
commitd0bea3606198e55862e28016ba05fa39a02825de
tree377bc33834fc9effc2b273ce6ed0da0ef6830442
parent36b2572a4a7e30468269a98132665103f0ea2c79
compat-wireless: deactivate sido suspend for brcmfmac on older kernels.

With this patch the build does not break any more because of this commit:

commit da68c4eb258cd9f3f0b8aeb7e46b8118bb6358b6
Author: Nicolas Pitre <nico@fluxnic.net>
Date:   Fri Mar 5 13:43:31 2010 -0800

    sdio: introduce API for special power management features

This build error occurs without the patch on linux-2.6.32.
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c: In function ‘brcmf_sdio_suspend’:
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1087:2: error: ‘mmc_pm_flag_t’ undeclared (first use in this function)
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1087:2: note: each undeclared identifier is reported only once for each function it appears in
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1087:16: error: expected ‘;’ before ‘sdio_flags’
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1088:2: warning: ISO C90 forbids mixed declarations and code
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1092:2: error: ‘sdio_flags’ undeclared (first use in this function)
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1092:2: error: implicit declaration of function ‘sdio_get_host_pm_caps’

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/29-sdio_no_suspend.patch