]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: i.MX: Remove #ifdef CONFIG_OF
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 19 Apr 2014 05:04:03 +0000 (09:04 +0400)
committerShawn Guo <shawn.guo@freescale.com>
Mon, 12 May 2014 14:58:47 +0000 (22:58 +0800)
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>
arch/arm/mach-imx/clk-imx27.c
arch/arm/mach-imx/clk-imx31.c

index d2da8908b26859370f797b746515f501bee89ad1..0db0b4f0c415b2d825d45455214dc13eb121ac5f 100644 (file)
@@ -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
index b5b65f3efaf1c30651686f9d79ee004318815b66..4a9de0835eb1d0a2616af36ce3d1c899533ef996 100644 (file)
@@ -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