staging: brcm80211: remove global var gInstance from brcmfmac
authorFranky Lin <frankyl@broadcom.com>
Fri, 12 Aug 2011 13:34:51 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:06:38 +0000 (13:06 -0700)
commit47b4c640b849fc4aea881f4dd5f074c8943891d2
treec40387b1175e948edaca2ac33d4582cee4889a18
parentb73b2f9e6c99a6bbc06b3ffa2a9981335fad610b
staging: brcm80211: remove global var gInstance from brcmfmac

Use sdio function pointer stored in struct brcmf_sdio_dev instead
of those in gInstance.

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