mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 13:44:15 +08:00
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:
parent
d2d14a7788
commit
fba3acd961
@ -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--) {
|
||||||
|
Loading…
Reference in New Issue
Block a user