[PATCH] STAGING: brcm80211 SDIO/MMC cleanups

Arend van Spriel arend at broadcom.com
Tue May 3 09:48:22 PDT 2011


On 05/03/2011 06:41 PM, Grant Grundler wrote:
> On Tue, May 3, 2011 at 3:00 AM, Arend van Spriel<arend at broadcom.com>  wrote:
> ...
>> So you probably need to rebase.
> I updated to latest staging-2.6/staging-next and now get this error on build:
> drivers/staging/brcm80211/brcmfmac/dhd_sdio.c: In function
> ‘dhdsdio_sdiod_drive_strength_init’:
> drivers/staging/brcm80211/brcmfmac/dhd_sdio.c:6309: error: ‘chn’
> undeclared (first use in this function)
>
> problem is:
> ...
> 6284 #ifdef BCMDBG
> 6285         char chn[8];
> 6286 #endif
> ...
> 6308         default:
> 6309                 DHD_ERROR(("No SDIO Drive strength init"
> 6310                         "done for chip %s rev %d pmurev %d\n",
> 6311                         bcm_chipname(bus->ci->chip, chn, 8),
> 6312                         bus->ci->chiprev, bus->ci->pmurev));
>
>
> Happen to know what is missing here?

Hi Grant,

I do. And a colleague of mine fixed it last week. I sent out a large set 
of patches today including this fix:
[PATCH 01/61] staging: brcm80211: fixed error in non-DHD_DEBUG fullmac build

You can find detail at 
http://driverdev.linuxdriverproject.org/pipermail/devel/2011-May/date.html
I am not sure when these will actually be applied to staging-next tree, 
but I would suggest to await those patches going in as I am not sure 
whether any of those will affect your patch.

Gr. AvS



More information about the devel mailing list