* [PATCH] ARM: i.MX: Remove #ifdef CONFIG_OF
@ 2014-04-19 5:04 Alexander Shiyan
2014-04-19 5:43 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2014-04-19 5:04 UTC (permalink / raw)
To: linux-arm-kernel
CONFIG_OF is always selected for i.MX.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/mach-imx/clk-imx27.c | 2 --
arch/arm/mach-imx/clk-imx31.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
index d2da890..0db0b4f 100644
--- a/arch/arm/mach-imx/clk-imx27.c
+++ b/arch/arm/mach-imx/clk-imx27.c
@@ -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
diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c
index b5b65f3..4a9de08 100644
--- a/arch/arm/mach-imx/clk-imx31.c
+++ b/arch/arm/mach-imx/clk-imx31.c
@@ -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
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: i.MX: Remove #ifdef CONFIG_OF
2014-04-19 5:04 [PATCH] ARM: i.MX: Remove #ifdef CONFIG_OF Alexander Shiyan
@ 2014-04-19 5:43 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2014-04-19 5:43 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Apr 19, 2014 at 09:04:03AM +0400, Alexander Shiyan wrote:
> CONFIG_OF is always selected for i.MX.
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-19 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-19 5:04 [PATCH] ARM: i.MX: Remove #ifdef CONFIG_OF Alexander Shiyan
2014-04-19 5:43 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).