* [PATCH] libertas: make lbs_get_channel() static
@ 2009-10-16 15:33 Holger Schurig
2009-10-16 16:29 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Holger Schurig @ 2009-10-16 15:33 UTC (permalink / raw)
To: linux-wireless, John Linville; +Cc: Dan Williams
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
--- linux-wl.orig/drivers/net/wireless/libertas/cmd.c
+++ linux-wl/drivers/net/wireless/libertas/cmd.c
@@ -880,7 +880,7 @@
*
* @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;
--- linux-wl.orig/drivers/net/wireless/libertas/cmd.h
+++ linux-wl/drivers/net/wireless/libertas/cmd.h
@@ -82,8 +82,6 @@
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);
--
http://www.holgerschurig.de
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] libertas: make lbs_get_channel() static
2009-10-16 15:33 [PATCH] libertas: make lbs_get_channel() static Holger Schurig
@ 2009-10-16 16:29 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2009-10-16 16:29 UTC (permalink / raw)
To: Holger Schurig; +Cc: linux-wireless, John Linville
On Fri, 2009-10-16 at 17:33 +0200, Holger Schurig wrote:
> Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
>
Acked-by: Dan Williams <dcbw@redhat.com>
> --- linux-wl.orig/drivers/net/wireless/libertas/cmd.c
> +++ linux-wl/drivers/net/wireless/libertas/cmd.c
> @@ -880,7 +880,7 @@
> *
> * @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;
> --- linux-wl.orig/drivers/net/wireless/libertas/cmd.h
> +++ linux-wl/drivers/net/wireless/libertas/cmd.h
> @@ -82,8 +82,6 @@
>
> 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);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-16 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16 15:33 [PATCH] libertas: make lbs_get_channel() static Holger Schurig
2009-10-16 16:29 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox