diff options
author | Holger Schurig <h.schurig@mn-solutions.de> | 2007-12-05 11:58:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:06:03 -0500 |
commit | 0d61d04210b617963c202a3c4dcbcd26a024d5d3 (patch) | |
tree | 4eb105f000ea9b3104f16cf30ee886b413b16e45 /drivers/net/wireless | |
parent | c68b3bbdb596b5f82f1f0731f6fcb210735aff39 (diff) |
libertas: make more functions static
These functions were used in the old debugfs code for events, but
as this code is now gone, there's no need to export those functions.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 9 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/decl.h | 7 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 43dde7eec758..54ef990a46cc 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -13,6 +13,11 @@ | |||
13 | #include "wext.h" | 13 | #include "wext.h" |
14 | 14 | ||
15 | static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode); | 15 | static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode); |
16 | struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv); | ||
17 | void lbs_set_cmd_ctrl_node(struct lbs_private *priv, | ||
18 | struct cmd_ctrl_node *ptempnode, | ||
19 | u16 wait_option, void *pdata_buf); | ||
20 | |||
16 | 21 | ||
17 | static u16 commands_allowed_in_ps[] = { | 22 | static u16 commands_allowed_in_ps[] = { |
18 | CMD_802_11_RSSI, | 23 | CMD_802_11_RSSI, |
@@ -1220,7 +1225,7 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1220 | goto done; | 1225 | goto done; |
1221 | } | 1226 | } |
1222 | 1227 | ||
1223 | cmdnode = lbs_get_free_cmd_ctrl_node(priv); | 1228 | cmdnode = lbs_get_cmd_ctrl_node(priv); |
1224 | 1229 | ||
1225 | if (cmdnode == NULL) { | 1230 | if (cmdnode == NULL) { |
1226 | lbs_deb_host("PREP_CMD: cmdnode is NULL\n"); | 1231 | lbs_deb_host("PREP_CMD: cmdnode is NULL\n"); |
@@ -1623,7 +1628,7 @@ done: | |||
1623 | * @param priv A pointer to struct lbs_private structure | 1628 | * @param priv A pointer to struct lbs_private structure |
1624 | * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL | 1629 | * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL |
1625 | */ | 1630 | */ |
1626 | struct cmd_ctrl_node *lbs_get_free_cmd_ctrl_node(struct lbs_private *priv) | 1631 | struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv) |
1627 | { | 1632 | { |
1628 | struct cmd_ctrl_node *tempnode; | 1633 | struct cmd_ctrl_node *tempnode; |
1629 | struct lbs_adapter *adapter = priv->adapter; | 1634 | struct lbs_adapter *adapter = priv->adapter; |
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h index 201ec60f1dc5..0856cc96f513 100644 --- a/drivers/net/wireless/libertas/decl.h +++ b/drivers/net/wireless/libertas/decl.h | |||
@@ -15,18 +15,13 @@ struct lbs_private; | |||
15 | struct lbs_adapter; | 15 | struct lbs_adapter; |
16 | struct sk_buff; | 16 | struct sk_buff; |
17 | struct net_device; | 17 | struct net_device; |
18 | struct cmd_ctrl_node; | ||
18 | 19 | ||
19 | int lbs_set_mac_packet_filter(struct lbs_private *priv); | 20 | int lbs_set_mac_packet_filter(struct lbs_private *priv); |
20 | 21 | ||
21 | void lbs_send_tx_feedback(struct lbs_private *priv); | 22 | void lbs_send_tx_feedback(struct lbs_private *priv); |
22 | 23 | ||
23 | int lbs_free_cmd_buffer(struct lbs_private *priv); | 24 | int lbs_free_cmd_buffer(struct lbs_private *priv); |
24 | struct cmd_ctrl_node; | ||
25 | struct cmd_ctrl_node *lbs_get_free_cmd_ctrl_node(struct lbs_private *priv); | ||
26 | |||
27 | void lbs_set_cmd_ctrl_node(struct lbs_private *priv, | ||
28 | struct cmd_ctrl_node *ptempnode, | ||
29 | u16 wait_option, void *pdata_buf); | ||
30 | 25 | ||
31 | int lbs_prepare_and_send_command(struct lbs_private *priv, | 26 | int lbs_prepare_and_send_command(struct lbs_private *priv, |
32 | u16 cmd_no, | 27 | u16 cmd_no, |