Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278409
b: refs/heads/master
c: c0a7962
h: refs/heads/master
i:
  278407: fb3327c
v: v3
  • Loading branch information
Franky Lin authored and John W. Linville committed Nov 28, 2011
1 parent 6bd0072 commit e0b3aa3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa20b91143c616d402f1ed61f27693477279d0c6
refs/heads/master: c0a7962ae72c9ebf42f623719a46c8f472f44067
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
* Exported from brcmf bus module (brcmf_usb, brcmf_sdio)
*/

/* obtain linux device object providing bus function */
extern struct device *brcmf_bus_get_device(struct brcmf_sdio *bus);

/* Stop bus module: clear pending frames, disable data flow */
extern void brcmf_sdbrcm_bus_stop(struct brcmf_sdio *bus);

Expand Down
8 changes: 2 additions & 6 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,7 @@ static void brcmf_ethtool_get_drvinfo(struct net_device *ndev,

sprintf(info->driver, KBUILD_MODNAME);
sprintf(info->version, "%lu", drvr_priv->pub.drv_version);
sprintf(info->bus_info, "%s",
dev_name(brcmf_bus_get_device(drvr_priv->pub.bus)));
sprintf(info->bus_info, "%s", dev_name(drvr_priv->pub.dev));
}

static struct ethtool_ops brcmf_ethtool_ops = {
Expand Down Expand Up @@ -1082,10 +1081,7 @@ int brcmf_net_attach(struct brcmf_pub *drvr, int ifidx)

/* attach to cfg80211 for primary interface */
if (!ifidx) {
drvr->config =
brcmf_cfg80211_attach(ndev,
brcmf_bus_get_device(drvr->bus),
drvr);
drvr->config = brcmf_cfg80211_attach(ndev, drvr->dev, drvr);
if (drvr->config == NULL) {
brcmf_dbg(ERROR, "wl_cfg80211_attach failed\n");
goto fail;
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3999,11 +3999,6 @@ void brcmf_sdbrcm_disconnect(void *ptr)
brcmf_dbg(TRACE, "Disconnected\n");
}

struct device *brcmf_bus_get_device(struct brcmf_sdio *bus)
{
return &bus->sdiodev->func[2]->dev;
}

void
brcmf_sdbrcm_wd_timer(struct brcmf_sdio *bus, uint wdtick)
{
Expand Down

0 comments on commit e0b3aa3

Please sign in to comment.