Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: remove exported function from __init section

The symbol of_fixed_clk_setup is exported and annotated __init.
This looks like section mismatch.
Fix this by removing the __init annotation of of_fixed_clk_setup.

Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>

authored by

Denis Efremov and committed by
Mike Turquette
e4eda8e0 abb165a8

+1 -1
+1 -1
drivers/clk/clk-fixed-rate.c
··· 85 85 /** 86 86 * of_fixed_clk_setup() - Setup function for simple fixed rate clock 87 87 */ 88 - void __init of_fixed_clk_setup(struct device_node *node) 88 + void of_fixed_clk_setup(struct device_node *node) 89 89 { 90 90 struct clk *clk; 91 91 const char *clk_name = node->name;