[PATCH] clk: fix warning: no previous prototype for 'clk_is_enabled'

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 5 16:34:27 EDT 2013


On Wed, Jun 05, 2013 at 11:32:51AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>

Applied, thanks

Sascha

> ---
>  drivers/clk/clk.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 690a0c6..a3def53 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -208,7 +208,7 @@ int clk_register(struct clk *clk)
>  	return 0;
>  }
>  
> -int clk_is_enabled(struct clk *clk)
> +static int clk_is_enabled(struct clk *clk)
>  {
>  	int enabled;
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list