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/cw1200.h | |
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/cw1200.h')
-rw-r--r-- | drivers/net/wireless/cw1200/cw1200.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/cw1200/cw1200.h b/drivers/net/wireless/cw1200/cw1200.h index e9424e635883..95320f2b25eb 100644 --- a/drivers/net/wireless/cw1200/cw1200.h +++ b/drivers/net/wireless/cw1200/cw1200.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "pm.h" | 30 | #include "pm.h" |
31 | 31 | ||
32 | /* Forward declarations */ | 32 | /* Forward declarations */ |
33 | struct sbus_ops; | 33 | struct hwbus_ops; |
34 | struct task_struct; | 34 | struct task_struct; |
35 | struct cw1200_debug_priv; | 35 | struct cw1200_debug_priv; |
36 | struct firmware; | 36 | struct firmware; |
@@ -109,8 +109,8 @@ struct cw1200_common { | |||
109 | u8 mac_addr[ETH_ALEN]; | 109 | u8 mac_addr[ETH_ALEN]; |
110 | 110 | ||
111 | /* Hardware interface */ | 111 | /* Hardware interface */ |
112 | const struct sbus_ops *sbus_ops; | 112 | const struct hwbus_ops *hwbus_ops; |
113 | struct sbus_priv *sbus_priv; | 113 | struct hwbus_priv *hwbus_priv; |
114 | 114 | ||
115 | /* Hardware information */ | 115 | /* Hardware information */ |
116 | enum { | 116 | enum { |
@@ -298,8 +298,8 @@ struct cw1200_sta_priv { | |||
298 | }; | 298 | }; |
299 | 299 | ||
300 | /* interfaces for the drivers */ | 300 | /* interfaces for the drivers */ |
301 | int cw1200_core_probe(const struct sbus_ops *sbus_ops, | 301 | int cw1200_core_probe(const struct hwbus_ops *hwbus_ops, |
302 | struct sbus_priv *sbus, | 302 | struct hwbus_priv *hwbus, |
303 | struct device *pdev, | 303 | struct device *pdev, |
304 | struct cw1200_common **pself, | 304 | struct cw1200_common **pself, |
305 | int ref_clk, const u8 *macaddr, | 305 | int ref_clk, const u8 *macaddr, |