summaryrefslogtreecommitdiff
path: root/drivers/clk/clkdev.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-03-10 14:34:00 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-05-06 11:58:10 +0100
commitfba3acd961ee167a5ffe4c094deccb7d99a0e963 (patch)
tree8a36148bb47febe9d7d6ae2c595a9a5775186519 /drivers/clk/clkdev.c
parentd2d14a77886485310ec66e575f00ea5232ac7a14 (diff)
downloadlwn-fba3acd961ee167a5ffe4c094deccb7d99a0e963.tar.gz
lwn-fba3acd961ee167a5ffe4c094deccb7d99a0e963.zip
clkdev: drop __init from clkdev_add_table()
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>
Diffstat (limited to 'drivers/clk/clkdev.c')
-rw-r--r--drivers/clk/clkdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c
index 1bb120a3855f..04b59ad6d852 100644
--- 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--) {