MLK-21492 brcmfmac: remove func0 that is not provied by mmc stack
authorFugang Duan <fugang.duan@nxp.com>
Thu, 18 Apr 2019 06:50:34 +0000 (14:50 +0800)
committerFugang Duan <fugang.duan@nxp.com>
Thu, 18 Apr 2019 09:08:06 +0000 (17:08 +0800)
commitbbae879e0b44f270163519e7e6a9f0391cb73a8d
treeb8173974ebd8a16c73c435dd456890d638eeff15
parentb5ceb944e647082c5515f92b79465661a11aac51
MLK-21492 brcmfmac: remove func0 that is not provied by mmc stack

func0 is not provided by the mmc stack as a function when probing.
commit 99d7b6fdfc8c(brcmfmac: Remove func0 from function array)
already remove the func0.

But commit c37fa19e0128(brcmfmac: Remove array of functions) add
fun0 again. That cause NULL pointer issue.

Fixes: c37fa19e0128(brcmfmac: Remove array of functions)
Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h