summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-18 11:48:54 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-01-20 12:03:57 +0200
commite8cd47501fa0c0a591bb07d5878dcc8d63d60e57 (patch)
treec6e077f1b5880e680d87a6871a34a40c7559131f /drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
parentbfa7295e5b4d32cdab28d4cdc3a9791f73aed089 (diff)
downloadlinux-e8cd47501fa0c0a591bb07d5878dcc8d63d60e57.tar.gz
linux-e8cd47501fa0c0a591bb07d5878dcc8d63d60e57.tar.bz2
linux-e8cd47501fa0c0a591bb07d5878dcc8d63d60e57.zip
brcmfmac: rename brcmf_bus_start function to brcmf_bus_started
This intends to make init/attach process slightly easier to follow. What driver was doing in brcmf_bus_start wasn't bus specific at all and function brcmf_bus_stop wasn't undoing things done there. This function is supposed to be called by bus specific code when the bus is ready. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c')
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
index 048027f2085b..19db8f26729a 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
@@ -1572,7 +1572,7 @@ static int brcmf_pcie_attach_bus(struct brcmf_pciedev_info *devinfo)
if (ret) {
brcmf_err("brcmf_attach failed\n");
} else {
- ret = brcmf_bus_start(&devinfo->pdev->dev);
+ ret = brcmf_bus_started(&devinfo->pdev->dev);
if (ret)
brcmf_err("dongle is not responding\n");
}