Commit 1e56f894 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Shawn Guo

ARM: i.MX: Remove #ifdef CONFIG_OF

CONFIG_OF is always selected for i.MX.
Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 9dc34da6
...@@ -296,7 +296,6 @@ int __init mx27_clocks_init(unsigned long fref) ...@@ -296,7 +296,6 @@ int __init mx27_clocks_init(unsigned long fref)
return 0; return 0;
} }
#ifdef CONFIG_OF
int __init mx27_clocks_init_dt(void) int __init mx27_clocks_init_dt(void)
{ {
struct device_node *np; struct device_node *np;
...@@ -312,4 +311,3 @@ int __init mx27_clocks_init_dt(void) ...@@ -312,4 +311,3 @@ int __init mx27_clocks_init_dt(void)
return mx27_clocks_init(fref); return mx27_clocks_init(fref);
} }
#endif
...@@ -191,7 +191,6 @@ int __init mx31_clocks_init(unsigned long fref) ...@@ -191,7 +191,6 @@ int __init mx31_clocks_init(unsigned long fref)
return 0; return 0;
} }
#ifdef CONFIG_OF
int __init mx31_clocks_init_dt(void) int __init mx31_clocks_init_dt(void)
{ {
struct device_node *np; struct device_node *np;
...@@ -207,4 +206,3 @@ int __init mx31_clocks_init_dt(void) ...@@ -207,4 +206,3 @@ int __init mx31_clocks_init_dt(void)
return mx31_clocks_init(fref); return mx31_clocks_init(fref);
} }
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment