From: Krzysztof Kozlowski Date: Wed, 11 May 2016 12:02:00 +0000 (+0200) Subject: clk: samsung: exynos4: Move local function to init section X-Git-Tag: v4.8-rc1~93^2~53^2~29 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8f3ac36de17ab056f43b509926ee81a09adae99b;p=uclinux-h8%2Flinux.git clk: samsung: exynos4: Move local function to init section The local exynos4_get_xom() function is referenced only from other init-level functions. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sylwester Nawrocki --- diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index 2f458233908b..5cac5b7892d7 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -1211,7 +1211,7 @@ static struct samsung_clock_alias exynos4x12_aliases[] __initdata = { * controller is first remapped and the value of XOM[0] bit is read to * determine the parent clock. */ -static unsigned long exynos4_get_xom(void) +static unsigned long __init exynos4_get_xom(void) { unsigned long xom = 0; void __iomem *chipid_base;