]> git.baikalelectronics.ru Git - kernel.git/commit
brcm80211: fmac: use specific types in struct brcmf_bus
authorArend van Spriel <arend@broadcom.com>
Thu, 9 Feb 2012 20:09:02 +0000 (21:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:48:51 +0000 (14:48 -0500)
commitd2b38db47d0282763bac06979ec0badf082ac8e1
treead9d8d5d728483cac466da9f432c6491c76472ba
parent8dbe1bfd1d5de44ea7cb43095f0367f2a22ecfc7
brcm80211: fmac: use specific types in struct brcmf_bus

The fields bus_priv and drvr are defined as void pointer. It is
preferred to have specific types for compiler type checking. To
prepare for other bus types the bus_priv field is defined as a
union containing the sdio bus private structure reference.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c