[linux-yocto] [PATCH 2/7] clkdev: drop __init from clkdev_add_table()

Yong, Jonathan jonathan.yong at intel.com
Tue Feb 23 16:10:08 PST 2016

From: Russell King <rmk+kernel at arm.linux.org.uk>

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 at arm.linux.org.uk>
(cherry picked from commit fba3acd961ee167a5ffe4c094deccb7d99a0e963)
Signed-off-by: Yong, Jonathan <jonathan.yong at intel.com>
 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 1bb120a..04b59ad 100644
--- a/drivers/clk/clkdev.c
+++ b/drivers/clk/clkdev.c
@@ -230,7 +230,7 @@ void clkdev_add(struct clk_lookup *cl)
-void __init clkdev_add_table(struct clk_lookup *cl, size_t num)
+void clkdev_add_table(struct clk_lookup *cl, size_t num)
 	while (num--) {

More information about the linux-yocto mailing list