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>
This commit is contained in:
Russell King 2015-03-10 14:34:00 +00:00
parent d2d14a7788
commit fba3acd961

View File

@ -230,7 +230,7 @@ void clkdev_add(struct clk_lookup *cl)
} }
EXPORT_SYMBOL(clkdev_add); 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); mutex_lock(&clocks_mutex);
while (num--) { while (num--) {