From fba3acd961ee167a5ffe4c094deccb7d99a0e963 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 10 Mar 2015 14:34:00 +0000 Subject: [PATCH] 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 --- drivers/clk/clkdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--) {