3 Apr
2015
3 Apr
'15
8:12 p.m.
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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c index 043fd3633373..156f2e2f972c 100644 --- a/drivers/clk/clkdev.c +++ b/drivers/clk/clkdev.c @@ -251,7 +251,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--) {
--
1.8.3.1