aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-14 10:49:53 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:17 -0400
commit6d898b1983b62ad52f862014748ddce35aad005a (patch)
tree5e30ab7f93456e230e38a98c7fa5796b8a8c5516
parent40f54242ae2d2b958b6ae7644f58de9e8a48992a (diff)
libertas: make __lbs_cmd_async() non-static
This function will be needed for the cfg80211-enabled libertas driver. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/cmd.c2
-rw-r--r--drivers/net/wireless/libertas/cmd.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 0fb312576b8d..eb0bce338e55 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -2118,7 +2118,7 @@ int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0,
2118} 2118}
2119 2119
2120 2120
2121static struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, 2121struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv,
2122 uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, 2122 uint16_t command, struct cmd_header *in_cmd, int in_cmd_size,
2123 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), 2123 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
2124 unsigned long callback_arg) 2124 unsigned long callback_arg)
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h
index 392e578ca095..2730c6aadfd2 100644
--- a/drivers/net/wireless/libertas/cmd.h
+++ b/drivers/net/wireless/libertas/cmd.h
@@ -26,6 +26,11 @@ int __lbs_cmd(struct lbs_private *priv, uint16_t command,
26 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), 26 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
27 unsigned long callback_arg); 27 unsigned long callback_arg);
28 28
29struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv,
30 uint16_t command, struct cmd_header *in_cmd, int in_cmd_size,
31 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
32 unsigned long callback_arg);
33
29int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0, 34int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0,
30 int8_t p1, int8_t p2); 35 int8_t p1, int8_t p2);
31 36