* [PATCH] clk: fix warning: no previous prototype for 'clk_is_enabled'
@ 2013-06-05 7:32 Antony Pavlov
2013-06-05 20:34 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2013-06-05 7:32 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: fix warning: no previous prototype for 'clk_is_enabled'
2013-06-05 7:32 [PATCH] clk: fix warning: no previous prototype for 'clk_is_enabled' Antony Pavlov
@ 2013-06-05 20:34 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-06-05 20:34 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Wed, Jun 05, 2013 at 11:32:51AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@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@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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-05 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 7:32 [PATCH] clk: fix warning: no previous prototype for 'clk_is_enabled' Antony Pavlov
2013-06-05 20:34 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox