Skip to content

Commit

Permalink
libertas: make lbs_get_channel() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Holger Schurig authored and John W. Linville committed Oct 27, 2009
1 parent bca61f8 commit a3cbfb0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ int lbs_set_data_rate(struct lbs_private *priv, u8 rate)
*
* @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;
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wireless/libertas/cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a3cbfb0

Please sign in to comment.