瀏覽代碼

ARM: i.MX: Remove #ifdef CONFIG_OF

CONFIG_OF is always selected for i.MX.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Alexander Shiyan 11 年之前
父節點
當前提交
1e56f8945d
共有 2 個文件被更改,包括 0 次插入4 次删除
  1. 0 2
      arch/arm/mach-imx/clk-imx27.c
  2. 0 2
      arch/arm/mach-imx/clk-imx31.c

+ 0 - 2
arch/arm/mach-imx/clk-imx27.c

@@ -296,7 +296,6 @@ int __init mx27_clocks_init(unsigned long fref)
 	return 0;
 }
 
-#ifdef CONFIG_OF
 int __init mx27_clocks_init_dt(void)
 {
 	struct device_node *np;
@@ -312,4 +311,3 @@ int __init mx27_clocks_init_dt(void)
 
 	return mx27_clocks_init(fref);
 }
-#endif

+ 0 - 2
arch/arm/mach-imx/clk-imx31.c

@@ -191,7 +191,6 @@ int __init mx31_clocks_init(unsigned long fref)
 	return 0;
 }
 
-#ifdef CONFIG_OF
 int __init mx31_clocks_init_dt(void)
 {
 	struct device_node *np;
@@ -207,4 +206,3 @@ int __init mx31_clocks_init_dt(void)
 
 	return mx31_clocks_init(fref);
 }
-#endif