libertas: make lbs_get_channel() static
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 16 Oct 2009 15:33:56 +0000 (17:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:29 +0000 (16:48 -0400)
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>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmd.h

index cced646a884764d8cd5733c55575d20bf3b82cdd..e0de9a3dd12bcfe43e2d55dd02426635a93b1329 100644 (file)
@@ -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;
index 7c44cc94a25b4ad2befced8db290d3c60bb2321c..999d146c2f894f3678a77257118612eeeb794e33 100644 (file)
@@ -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);