aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cw1200/pm.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-06-01 08:08:42 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-06-03 15:54:37 -0400
commit911373cca1b45571b62938f8f19cec24cb102471 (patch)
tree9488898d55ff341723ac352c3f7eae1c2ede4a75 /drivers/net/wireless/cw1200/pm.c
parentcw1200: remove unused including <linux/version.h> (diff)
downloadlinux-dev-911373cca1b45571b62938f8f19cec24cb102471.tar.xz
linux-dev-911373cca1b45571b62938f8f19cec24cb102471.zip
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/pm.c')
-rw-r--r--drivers/net/wireless/cw1200/pm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/cw1200/pm.c b/drivers/net/wireless/cw1200/pm.c
index 79edfb93b292..b37abb9f0453 100644
--- a/drivers/net/wireless/cw1200/pm.c
+++ b/drivers/net/wireless/cw1200/pm.c
@@ -15,7 +15,7 @@
#include "pm.h"
#include "sta.h"
#include "bh.h"
-#include "sbus.h"
+#include "hwbus.h"
#define CW1200_BEACON_SKIPPING_MULTIPLIER 3
@@ -264,7 +264,7 @@ int cw1200_wow_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
pm_state->suspend_state = state;
/* Enable IRQ wake */
- ret = priv->sbus_ops->power_mgmt(priv->sbus_priv, true);
+ ret = priv->hwbus_ops->power_mgmt(priv->hwbus_priv, true);
if (ret) {
wiphy_err(priv->hw->wiphy,
"PM request failed: %d. WoW is disabled.\n", ret);
@@ -313,7 +313,7 @@ int cw1200_wow_resume(struct ieee80211_hw *hw)
pm_state->suspend_state = NULL;
/* Disable IRQ wake */
- priv->sbus_ops->power_mgmt(priv->sbus_priv, false);
+ priv->hwbus_ops->power_mgmt(priv->hwbus_priv, false);
/* Scan.lock must be released before BH is resumed other way
* in case when BSS_LOST command arrived the processing of the