summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-16 17:33:56 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:29 -0400
commita3cbfb08ca634019516c91f3d5266b18e3dbbf77 (patch)
tree8b14ca1c59e990ed4fb308953a5fe02008001dd6 /drivers
parentbca61f8a4df69949cc7426b39daa867f5274a9b8 (diff)
libertas: make lbs_get_channel() static
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/libertas/cmd.c2
-rw-r--r--drivers/net/wireless/libertas/cmd.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index cced646a884..e0de9a3dd12 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -879,7 +879,7 @@ out:
*
* @return The channel on success, error on failure
*/
-int lbs_get_channel(struct lbs_private *priv)
+static int lbs_get_channel(struct lbs_private *priv)
{
struct cmd_ds_802_11_rf_channel cmd;
int ret = 0;
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h
index 7c44cc94a25..999d146c2f8 100644
--- a/drivers/net/wireless/libertas/cmd.h
+++ b/drivers/net/wireless/libertas/cmd.h
@@ -82,8 +82,6 @@ int lbs_process_event(struct lbs_private *priv, u32 event);
int lbs_update_hw_spec(struct lbs_private *priv);
-int lbs_get_channel(struct lbs_private *priv);
-
int lbs_set_channel(struct lbs_private *priv, u8 channel);
int lbs_update_channel(struct lbs_private *priv);