diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2013-06-01 08:08:42 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-03 15:54:37 -0400 |
commit | 911373cca1b45571b62938f8f19cec24cb102471 (patch) | |
tree | 9488898d55ff341723ac352c3f7eae1c2ede4a75 /drivers/net/wireless/cw1200/main.c | |
parent | 3e817f086f06069a23b797ee2279bbae638d5edc (diff) |
cw1200: Rename 'sbus' to 'hwbus'
This avoids problems when building on SPARC targets due to the driver
calling the bus abstraction layer 'sbus'. Not that any SBUS-sporting
SPARC targets are likely to have an SDIO controller, but this is the
correct thing to do.
See http://kisskb.ellerman.id.au/kisskb/buildresult/8846508/
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/cw1200/main.c')
-rw-r--r-- | drivers/net/wireless/cw1200/main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/cw1200/main.c b/drivers/net/wireless/cw1200/main.c index ef4b0b915f87..2ea1bada7207 100644 --- a/drivers/net/wireless/cw1200/main.c +++ b/drivers/net/wireless/cw1200/main.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | #include "cw1200.h" | 32 | #include "cw1200.h" |
33 | #include "txrx.h" | 33 | #include "txrx.h" |
34 | #include "sbus.h" | 34 | #include "hwbus.h" |
35 | #include "fwio.h" | 35 | #include "fwio.h" |
36 | #include "hwio.h" | 36 | #include "hwio.h" |
37 | #include "bh.h" | 37 | #include "bh.h" |
@@ -528,8 +528,8 @@ u32 cw1200_dpll_from_clk(u16 clk_khz) | |||
528 | } | 528 | } |
529 | } | 529 | } |
530 | 530 | ||
531 | int cw1200_core_probe(const struct sbus_ops *sbus_ops, | 531 | int cw1200_core_probe(const struct hwbus_ops *hwbus_ops, |
532 | struct sbus_priv *sbus, | 532 | struct hwbus_priv *hwbus, |
533 | struct device *pdev, | 533 | struct device *pdev, |
534 | struct cw1200_common **core, | 534 | struct cw1200_common **core, |
535 | int ref_clk, const u8 *macaddr, | 535 | int ref_clk, const u8 *macaddr, |
@@ -556,8 +556,8 @@ int cw1200_core_probe(const struct sbus_ops *sbus_ops, | |||
556 | if (cw1200_sdd_path) | 556 | if (cw1200_sdd_path) |
557 | priv->sdd_path = cw1200_sdd_path; | 557 | priv->sdd_path = cw1200_sdd_path; |
558 | 558 | ||
559 | priv->sbus_ops = sbus_ops; | 559 | priv->hwbus_ops = hwbus_ops; |
560 | priv->sbus_priv = sbus; | 560 | priv->hwbus_priv = hwbus; |
561 | priv->pdev = pdev; | 561 | priv->pdev = pdev; |
562 | SET_IEEE80211_DEV(priv->hw, pdev); | 562 | SET_IEEE80211_DEV(priv->hw, pdev); |
563 | 563 | ||
@@ -616,9 +616,9 @@ EXPORT_SYMBOL_GPL(cw1200_core_probe); | |||
616 | void cw1200_core_release(struct cw1200_common *self) | 616 | void cw1200_core_release(struct cw1200_common *self) |
617 | { | 617 | { |
618 | /* Disable device interrupts */ | 618 | /* Disable device interrupts */ |
619 | self->sbus_ops->lock(self->sbus_priv); | 619 | self->hwbus_ops->lock(self->hwbus_priv); |
620 | __cw1200_irq_enable(self, 0); | 620 | __cw1200_irq_enable(self, 0); |
621 | self->sbus_ops->unlock(self->sbus_priv); | 621 | self->hwbus_ops->unlock(self->hwbus_priv); |
622 | 622 | ||
623 | /* And then clean up */ | 623 | /* And then clean up */ |
624 | cw1200_unregister_common(self->hw); | 624 | cw1200_unregister_common(self->hw); |