linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM:i.MX: fix build errors
@ 2011-11-03  9:31 Jason Liu
  2011-11-03  9:31 ` [PATCH v2 1/2] ARM:i.MX: fix build error in tzic/avic.c Jason Liu
  2011-11-03  9:31 ` [PATCH v2 2/2] ARM:i.MX: fix build error in clock-mx51-mx53.c Jason Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Liu @ 2011-11-03  9:31 UTC (permalink / raw)
  To: linux-arm-kernel

This patch-set fix the build errors on i.MX

Jason Liu (2):
  ARM:i.MX: fix build error in tzic/avic.c
  ARM:i.MX: fix build error in clock-mx51-mx53.c
---
v2:move #ifdef to cover the whole dt thing and remove last patch from v1

 arch/arm/mach-mx5/clock-mx51-mx53.c |    2 ++
 arch/arm/plat-mxc/avic.c            |    1 +
 arch/arm/plat-mxc/tzic.c            |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 1/2] ARM:i.MX: fix build error in tzic/avic.c
  2011-11-03  9:31 [PATCH v2 0/2] ARM:i.MX: fix build errors Jason Liu
@ 2011-11-03  9:31 ` Jason Liu
  2011-11-03  9:31 ` [PATCH v2 2/2] ARM:i.MX: fix build error in clock-mx51-mx53.c Jason Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Liu @ 2011-11-03  9:31 UTC (permalink / raw)
  To: linux-arm-kernel

arch/arm/plat-mxc/tzic.c:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tzic_handle_irq'

Signed-off-by: Jason Liu <jason.hui@linaro.org>
---
 arch/arm/plat-mxc/avic.c |    1 +
 arch/arm/plat-mxc/tzic.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c
index 8875fb4..55f1569 100644
--- a/arch/arm/plat-mxc/avic.c
+++ b/arch/arm/plat-mxc/avic.c
@@ -22,6 +22,7 @@
 #include <linux/io.h>
 #include <mach/common.h>
 #include <asm/mach/irq.h>
+#include <asm/exception.h>
 #include <mach/hardware.h>
 
 #include "irq-common.h"
diff --git a/arch/arm/plat-mxc/tzic.c b/arch/arm/plat-mxc/tzic.c
index e993a18..a3c164c 100644
--- a/arch/arm/plat-mxc/tzic.c
+++ b/arch/arm/plat-mxc/tzic.c
@@ -17,6 +17,7 @@
 #include <linux/io.h>
 
 #include <asm/mach/irq.h>
+#include <asm/exception.h>
 
 #include <mach/hardware.h>
 #include <mach/common.h>
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v2 2/2] ARM:i.MX: fix build error in clock-mx51-mx53.c
  2011-11-03  9:31 [PATCH v2 0/2] ARM:i.MX: fix build errors Jason Liu
  2011-11-03  9:31 ` [PATCH v2 1/2] ARM:i.MX: fix build error in tzic/avic.c Jason Liu
@ 2011-11-03  9:31 ` Jason Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Liu @ 2011-11-03  9:31 UTC (permalink / raw)
  To: linux-arm-kernel

arch/arm/mach-mx5/clock-mx51-mx53.c: In function 'clk_get_freq_dt':
arch/arm/mach-mx5/clock-mx51-mx53.c:1643: error: implicit declaration of function 'for_each_compatible_node'
arch/arm/mach-mx5/clock-mx51-mx53.c:1643: error: expected ';' before '{' token

Signed-off-by: Jason Liu <jason.hui@linaro.org>
---
 arch/arm/mach-mx5/clock-mx51-mx53.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c
index 2aacf41..6312425 100644
--- a/arch/arm/mach-mx5/clock-mx51-mx53.c
+++ b/arch/arm/mach-mx5/clock-mx51-mx53.c
@@ -1634,6 +1634,7 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc,
 	return 0;
 }
 
+#ifdef CONFIG_OF
 static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc,
 				   unsigned long *ckih1, unsigned long *ckih2)
 {
@@ -1671,3 +1672,4 @@ int __init mx53_clocks_init_dt(void)
 	clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2);
 	return mx53_clocks_init(ckil, osc, ckih1, ckih2);
 }
+#endif
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-03  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03  9:31 [PATCH v2 0/2] ARM:i.MX: fix build errors Jason Liu
2011-11-03  9:31 ` [PATCH v2 1/2] ARM:i.MX: fix build error in tzic/avic.c Jason Liu
2011-11-03  9:31 ` [PATCH v2 2/2] ARM:i.MX: fix build error in clock-mx51-mx53.c Jason Liu

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).