From: Russell King Date: Tue, 10 Mar 2015 14:34:00 +0000 (+0000) Subject: clkdev: drop __init from clkdev_add_table() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fba3acd961ee167a5ffe4c094deccb7d99a0e963;p=linux-beck.git 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 --- 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--) {