diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-08 15:04:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:06:19 -0500 |
commit | aa21c004f80bdf943736c62dccf0c0398d7824f3 (patch) | |
tree | 6815328775d3b5ec46bb342c4c256cde0f223863 /drivers/net/wireless/libertas/decl.h | |
parent | f86a93e1b2d05a7a38a48c91f8fb8fc7e8f1c734 (diff) |
libertas: kill struct lbs_adapter
There seems to be no reason for a separate structure; move it all
into struct lbs_private.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r-- | drivers/net/wireless/libertas/decl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h index 1a8fdaa7375c..e255b1915742 100644 --- a/drivers/net/wireless/libertas/decl.h +++ b/drivers/net/wireless/libertas/decl.h | |||
@@ -12,7 +12,6 @@ | |||
12 | 12 | ||
13 | /** Function Prototype Declaration */ | 13 | /** Function Prototype Declaration */ |
14 | struct lbs_private; | 14 | struct lbs_private; |
15 | struct lbs_adapter; | ||
16 | struct sk_buff; | 15 | struct sk_buff; |
17 | struct net_device; | 16 | struct net_device; |
18 | struct cmd_ctrl_node; | 17 | struct cmd_ctrl_node; |
@@ -32,7 +31,7 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
32 | u16 cmd_action, | 31 | u16 cmd_action, |
33 | u16 wait_option, u32 cmd_oid, void *pdata_buf); | 32 | u16 wait_option, u32 cmd_oid, void *pdata_buf); |
34 | 33 | ||
35 | void lbs_queue_cmd(struct lbs_adapter *adapter, | 34 | void lbs_queue_cmd(struct lbs_private *priv, |
36 | struct cmd_ctrl_node *cmdnode, | 35 | struct cmd_ctrl_node *cmdnode, |
37 | u8 addtail); | 36 | u8 addtail); |
38 | 37 | ||
@@ -43,7 +42,7 @@ void lbs_interrupt(struct net_device *); | |||
43 | int lbs_set_radio_control(struct lbs_private *priv); | 42 | int lbs_set_radio_control(struct lbs_private *priv); |
44 | u32 lbs_fw_index_to_data_rate(u8 index); | 43 | u32 lbs_fw_index_to_data_rate(u8 index); |
45 | u8 lbs_data_rate_to_fw_index(u32 rate); | 44 | u8 lbs_data_rate_to_fw_index(u32 rate); |
46 | void lbs_get_fwversion(struct lbs_adapter *adapter, | 45 | void lbs_get_fwversion(struct lbs_private *priv, |
47 | char *fwversion, | 46 | char *fwversion, |
48 | int maxlen); | 47 | int maxlen); |
49 | 48 | ||
@@ -66,7 +65,7 @@ void lbs_ps_wakeup(struct lbs_private *priv, int wait_option); | |||
66 | void lbs_tx_runqueue(struct lbs_private *priv); | 65 | void lbs_tx_runqueue(struct lbs_private *priv); |
67 | 66 | ||
68 | struct chan_freq_power *lbs_find_cfp_by_band_and_channel( | 67 | struct chan_freq_power *lbs_find_cfp_by_band_and_channel( |
69 | struct lbs_adapter *adapter, | 68 | struct lbs_private *priv, |
70 | u8 band, | 69 | u8 band, |
71 | u16 channel); | 70 | u16 channel); |
72 | 71 | ||