Skip to contentSkip to conversation

clk: fix warning: no previous prototype for 'clk_is_enabled'

PATCH Applied Antony Pavlov 2 participants 2 messages Jun 5, 2013 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: fix warning: no previous prototype for 'clk_is_enabled'

---
 drivers/clk/clk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk.c +1 -1
index 690a0c6..a3def53 100644
@@ -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;
 
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 1 line · Antony Pavlov

Applied, thanks

Sascha

Quoted 26 lines
---
 drivers/clk/clk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk.c +1 -1
index 690a0c6..a3def53 100644
@@ -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;
 
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox