Explorar o código

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>
Krzysztof Kozlowski %!s(int64=9) %!d(string=hai) anos
pai
achega
8f3ac36de1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/clk/samsung/clk-exynos4.c

+ 1 - 1
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;