aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-08 15:04:36 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:06:19 -0500
commitaa21c004f80bdf943736c62dccf0c0398d7824f3 (patch)
tree6815328775d3b5ec46bb342c4c256cde0f223863 /drivers/net/wireless/libertas/decl.h
parentf86a93e1b2d05a7a38a48c91f8fb8fc7e8f1c734 (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.h7
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 */
14struct lbs_private; 14struct lbs_private;
15struct lbs_adapter;
16struct sk_buff; 15struct sk_buff;
17struct net_device; 16struct net_device;
18struct cmd_ctrl_node; 17struct 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
35void lbs_queue_cmd(struct lbs_adapter *adapter, 34void 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 *);
43int lbs_set_radio_control(struct lbs_private *priv); 42int lbs_set_radio_control(struct lbs_private *priv);
44u32 lbs_fw_index_to_data_rate(u8 index); 43u32 lbs_fw_index_to_data_rate(u8 index);
45u8 lbs_data_rate_to_fw_index(u32 rate); 44u8 lbs_data_rate_to_fw_index(u32 rate);
46void lbs_get_fwversion(struct lbs_adapter *adapter, 45void 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);
66void lbs_tx_runqueue(struct lbs_private *priv); 65void lbs_tx_runqueue(struct lbs_private *priv);
67 66
68struct chan_freq_power *lbs_find_cfp_by_band_and_channel( 67struct 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