summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/cw1200/main.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-06-01 12:08:42 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-06-03 19:54:37 (GMT)
commit911373cca1b45571b62938f8f19cec24cb102471 (patch)
tree9488898d55ff341723ac352c3f7eae1c2ede4a75 /drivers/net/wireless/cw1200/main.c
parent3e817f086f06069a23b797ee2279bbae638d5edc (diff)
downloadlinux-911373cca1b45571b62938f8f19cec24cb102471.tar.xz
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.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/cw1200/main.c b/drivers/net/wireless/cw1200/main.c
index ef4b0b9..2ea1bad 100644
--- a/drivers/net/wireless/cw1200/main.c
+++ b/drivers/net/wireless/cw1200/main.c
@@ -31,7 +31,7 @@
#include "cw1200.h"
#include "txrx.h"
-#include "sbus.h"
+#include "hwbus.h"
#include "fwio.h"
#include "hwio.h"
#include "bh.h"
@@ -528,8 +528,8 @@ u32 cw1200_dpll_from_clk(u16 clk_khz)
}
}
-int cw1200_core_probe(const struct sbus_ops *sbus_ops,
- struct sbus_priv *sbus,
+int cw1200_core_probe(const struct hwbus_ops *hwbus_ops,
+ struct hwbus_priv *hwbus,
struct device *pdev,
struct cw1200_common **core,
int ref_clk, const u8 *macaddr,
@@ -556,8 +556,8 @@ int cw1200_core_probe(const struct sbus_ops *sbus_ops,
if (cw1200_sdd_path)
priv->sdd_path = cw1200_sdd_path;
- priv->sbus_ops = sbus_ops;
- priv->sbus_priv = sbus;
+ priv->hwbus_ops = hwbus_ops;
+ priv->hwbus_priv = hwbus;
priv->pdev = pdev;
SET_IEEE80211_DEV(priv->hw, pdev);
@@ -616,9 +616,9 @@ EXPORT_SYMBOL_GPL(cw1200_core_probe);
void cw1200_core_release(struct cw1200_common *self)
{
/* Disable device interrupts */
- self->sbus_ops->lock(self->sbus_priv);
+ self->hwbus_ops->lock(self->hwbus_priv);
__cw1200_irq_enable(self, 0);
- self->sbus_ops->unlock(self->sbus_priv);
+ self->hwbus_ops->unlock(self->hwbus_priv);
/* And then clean up */
cw1200_unregister_common(self->hw);