diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-05-11 14:02:00 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-06-02 11:18:02 +0200 |
commit | 8f3ac36de17ab056f43b509926ee81a09adae99b (patch) | |
tree | 907884d203c832c02795f2a9e9c64924f1234210 /drivers/clk/samsung/clk-exynos4.c | |
parent | 0a7d82e6ee75db55b99096080ff4f12ac9a7aec3 (diff) | |
download | linux-8f3ac36de17ab056f43b509926ee81a09adae99b.tar.bz2 |
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 <k.kozlowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos4.c')
-rw-r--r-- | drivers/clk/samsung/clk-exynos4.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |