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

Antony Pavlov antonynpavlov at gmail.com
Wed Jun 5 03:32:51 EDT 2013


Signed-off-by: Antony Pavlov <antonynpavlov at 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




More information about the barebox mailing list