projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d14a7
)
clkdev: drop __init from clkdev_add_table()
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 10 Mar 2015 14:34:00 +0000
(14:34 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 6 May 2015 10:58:10 +0000
(11:58 +0100)
We want to be able to call clkdev_add_table() from non-init code, so we
need to drop the __init marker from it.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/clk/clkdev.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clkdev.c
b/drivers/clk/clkdev.c
index
1bb120a
..
04b59ad
100644
(file)
--- a/
drivers/clk/clkdev.c
+++ b/
drivers/clk/clkdev.c
@@
-230,7
+230,7
@@
void clkdev_add(struct clk_lookup *cl)
}
EXPORT_SYMBOL(clkdev_add);
-void
__init
clkdev_add_table(struct clk_lookup *cl, size_t num)
+void clkdev_add_table(struct clk_lookup *cl, size_t num)
{
mutex_lock(&clocks_mutex);
while (num--) {