Thread (5 messages) 5 messages, 2 authors, 2012-06-15
STALE5139d

[PATCH 3/4] ARM: clk-imx27: Remove unneeded '#ifdef CONFIG_OF'

From: Fabio Estevam <hidden>
Date: 2012-06-15 17:23:06
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

CONFIG_OF is always selected for imx SoCs so it is safe
to drop the '#ifdef CONFIG_OF'.

Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/mach-imx/clk-imx27.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
index 295cbd7..e73c05f 100644
--- a/arch/arm/mach-imx/clk-imx27.c
+++ b/arch/arm/mach-imx/clk-imx27.c
@@ -270,7 +270,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;
@@ -286,4 +285,3 @@ int __init mx27_clocks_init_dt(void)
 
 	return mx27_clocks_init(fref);
 }
-#endif
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help