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

clk: fixed-rate: Remove export symbol on setup function

This function is only called by builtin code, but we always
exported it and had marked it as __init before commit
e4eda8e0654c (clk: remove exported function from __init section,
2013-01-06) removed that marking. Given that it isn't used by
modules, lets unexport it and add back __init.

Cc: Denis Efremov <yefremov.denis@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

+1 -2
+1 -2
drivers/clk/clk-fixed-rate.c
··· 190 190 /** 191 191 * of_fixed_clk_setup() - Setup function for simple fixed rate clock 192 192 */ 193 - void of_fixed_clk_setup(struct device_node *node) 193 + void __init of_fixed_clk_setup(struct device_node *node) 194 194 { 195 195 _of_fixed_clk_setup(node); 196 196 } 197 - EXPORT_SYMBOL_GPL(of_fixed_clk_setup); 198 197 CLK_OF_DECLARE(fixed_clk, "fixed-clock", of_fixed_clk_setup); 199 198 200 199 static int of_fixed_clk_remove(struct platform_device *pdev)