diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-10-16 11:33:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:29 -0400 |
commit | a3cbfb08ca634019516c91f3d5266b18e3dbbf77 (patch) | |
tree | 8b14ca1c59e990ed4fb308953a5fe02008001dd6 | |
parent | bca61f8a4df69949cc7426b39daa867f5274a9b8 (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>
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/cmd.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index cced646a8847..e0de9a3dd12b 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -879,7 +879,7 @@ out: | |||
879 | * | 879 | * |
880 | * @return The channel on success, error on failure | 880 | * @return The channel on success, error on failure |
881 | */ | 881 | */ |
882 | int lbs_get_channel(struct lbs_private *priv) | 882 | static int lbs_get_channel(struct lbs_private *priv) |
883 | { | 883 | { |
884 | struct cmd_ds_802_11_rf_channel cmd; | 884 | struct cmd_ds_802_11_rf_channel cmd; |
885 | int ret = 0; | 885 | int ret = 0; |
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h index 7c44cc94a25b..999d146c2f89 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); | |||
82 | 82 | ||
83 | int lbs_update_hw_spec(struct lbs_private *priv); | 83 | int lbs_update_hw_spec(struct lbs_private *priv); |
84 | 84 | ||
85 | int lbs_get_channel(struct lbs_private *priv); | ||
86 | |||
87 | int lbs_set_channel(struct lbs_private *priv, u8 channel); | 85 | int lbs_set_channel(struct lbs_private *priv, u8 channel); |
88 | 86 | ||
89 | int lbs_update_channel(struct lbs_private *priv); | 87 | int lbs_update_channel(struct lbs_private *priv); |