Commits
Vipul Kumar committed 72f8f2a80cc
brcmfmac: Fix compilation error This patch fix the below compilation errors. drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function ‘brcmf_sdio_ulp_pre_redownload_check’: drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2631:10: error: implicit declaration of function ‘brcmf_sdiod_regrb’; did you mean ‘brcmf_sdiod_readb’? [-Werror=implicit-function-declaration] value = brcmf_sdiod_regrb(bus->sdiodev, SDIO_CCCR_IOEx, &err); ^~~~~~~~~~~~~~~~~ brcmf_sdiod_readb In file included from drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:42: drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h:437:2: error: implicit declaration of function ‘brcmf_sdiod_regrl’; did you mean ‘brcmf_sdiod_readl’? [-Werror=implicit-function-declaration] brcmf_sdiod_regrl(sdh, D11SHM_ADDR(offset), ret) ^~~~~~~~~~~~~~~~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2636:18: note: in expansion of macro ‘D11SHM_RD’ ulp_wake_ind = D11SHM_RD(bus->sdiodev, M_ULP_WAKE_IND( ^~~~~~~~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h:434:2: error: implicit declaration of function ‘brcmf_sdiod_regwl’; did you mean ‘brcmf_sdiod_readl’? [-Werror=implicit-function-declaration] brcmf_sdiod_regwl(sdh, D11SHM_ADDR(offset), val, ret) ^~~~~~~~~~~~~~~~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2654:4: note: in expansion of macro ‘D11SHM_WR’ D11SHM_WR(bus->sdiodev, M_DS1_CTRL_SDIO( ^~~~~~~~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function ‘brcmf_sdio_firmware_callback’: drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:4388:9: error: implicit declaration of function ‘brcmf_bus_started’; did you mean ‘brcmf_bus_txctl’? [-Werror=implicit-function-declaration] err = brcmf_bus_started(dev); ^~~~~~~~~~~~~~~~~ brcmf_bus_txctl cc1: some warnings being treated as errors scripts/Makefile.build:303: recipe for target 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o' failed make[6]: *** [drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o] Error 1 Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>