Re: [2.6 patch] make myri10ge_get_firmware_capabilities() static

From: Brice Goglin
Date: Tue May 20 2008 - 02:15:46 EST


Adrian Bunk wrote:
> This patch makes the needlessly global
> myri10ge_get_firmware_capabilities() static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>
Acked-by: Brice Goglin <brice@xxxxxxxx>

> ---
> 0442d0c2cb767d312f5264cc226a1595c47f3dbf diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
> index c91b12e..36be6ef 100644
> --- a/drivers/net/myri10ge/myri10ge.c
> +++ b/drivers/net/myri10ge/myri10ge.c
> @@ -631,7 +631,7 @@ static int myri10ge_adopt_running_firmware(struct myri10ge_priv *mgp)
> return status;
> }
>
> -int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
> +static int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
> {
> struct myri10ge_cmd cmd;
> int status;
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/