Skip to contentSkip to conversation

ARM: i.MX: Remove #ifdef CONFIG_OF

PATCH New Alexander Shiyan 2 participants 2 messages Apr 19, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: i.MX: Remove #ifdef CONFIG_OF

CONFIG_OF is always selected for i.MX.

---
 arch/arm/mach-imx/clk-imx27.c | 2 --
 arch/arm/mach-imx/clk-imx31.c | 2 --
 2 files changed, 4 deletions(-)
arch/arm/mach-imx/clk-imx27.c +0 -2
index d2da890..0db0b4f 100644
@@ -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
arch/arm/mach-imx/clk-imx31.c +0 -2
index b5b65f3..4a9de08 100644
@@ -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
Signature · 1 line
1.8.3.2