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/libertas/cmd.c | |
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/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 9 |
1 files changed, 7 insertions, 2 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; |