clkdev: Remove __init marking from clkdev_add_table()
To support registration of clock tables from drivers that initialize after the kernel has booted, remove the __init marking. Change-Id: I264395652772b30960c0168121194870b541e18f Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
14dbba2a45
commit
dfd8945705
@@ -122,7 +122,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--) {
|
||||
|
||||
Reference in New Issue
Block a user