diff options
Diffstat (limited to 'drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c')
-rw-r--r-- | drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c b/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c index 6ec4a7532e4a..ef48d1f45e47 100644 --- a/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c +++ b/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c @@ -87,8 +87,8 @@ PBCMSDH_SDMMC_INSTANCE gInstance; /* Maximum number of bcmsdh_sdmmc devices supported by driver */ #define BCMSDH_SDMMC_MAX_DEVICES 1 -extern int bcmsdh_probe(struct device *dev); -extern int bcmsdh_remove(struct device *dev); +extern int bcmsdh_probe_bcmdhd(struct device *dev); +extern int bcmsdh_remove_bcmdhd(struct device *dev); extern volatile bool dhd_mmc_suspend; @@ -109,8 +109,8 @@ static int bcmsdh_sdmmc_probe(struct sdio_func *func, gInstance->func[0] = &sdio_func_0; if(func->device == 0x4) { /* 4318 */ gInstance->func[2] = NULL; - sd_trace(("NIC found, calling bcmsdh_probe...\n")); - ret = bcmsdh_probe(&func->dev); + sd_trace(("NIC found, calling bcmsdh_probe_bcmdhd...\n")); + ret = bcmsdh_probe_bcmdhd(&func->dev); } } @@ -120,8 +120,8 @@ static int bcmsdh_sdmmc_probe(struct sdio_func *func, #ifdef WL_CFG80211 wl_cfg80211_set_sdio_func(func); #endif - sd_trace(("F2 found, calling bcmsdh_probe...\n")); - ret = bcmsdh_probe(&func->dev); + sd_trace(("F2 found, calling bcmsdh_probe_bcmdhd...\n")); + ret = bcmsdh_probe_bcmdhd(&func->dev); } return ret; @@ -136,8 +136,8 @@ static void bcmsdh_sdmmc_remove(struct sdio_func *func) sd_info(("Function#: 0x%04x\n", func->num)); if (func->num == 2) { - sd_trace(("F2 found, calling bcmsdh_remove...\n")); - bcmsdh_remove(&func->dev); + sd_trace(("F2 found, calling bcmsdh_remove_bcmdhd...\n")); + bcmsdh_remove_bcmdhd(&func->dev); } else if (func->num == 1) { sdio_claim_host(func); sdio_disable_func(func); @@ -339,7 +339,6 @@ int sdio_function_init(void) /* * module cleanup */ -extern int bcmsdh_remove(struct device *dev); void sdio_function_cleanup(void) { sd_trace(("%s Enter\n", __FUNCTION__)); |