Skip to content

Commit

Permalink
ARM: i.MX: Remove #ifdef CONFIG_OF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Shiyan authored and Shawn Guo committed May 12, 2014
1 parent 9dc34da commit 1e56f89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-imx/clk-imx27.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -312,4 +311,3 @@ int __init mx27_clocks_init_dt(void)

return mx27_clocks_init(fref);
}
#endif
2 changes: 0 additions & 2 deletions arch/arm/mach-imx/clk-imx31.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -207,4 +206,3 @@ int __init mx31_clocks_init_dt(void)

return mx31_clocks_init(fref);
}
#endif

0 comments on commit 1e56f89

Please sign in to comment.