clk: samsung: exynos4: Move local function to init section
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 11 May 2016 12:02:00 +0000 (14:02 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 2 Jun 2016 09:18:02 +0000 (11:18 +0200)
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>
drivers/clk/samsung/clk-exynos4.c

index 2f458233908bd14f4142a90605ec9ec9509c6ae6..5cac5b7892d73085891743a88bb0a3e68fa7c504 100644 (file)
@@ -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;
This page took 0.027313 seconds and 5 git commands to generate.