linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] sh/kernel/cpu/irq/intc-sh5.c build fix
@ 2008-05-29 22:04 Adrian Bunk
  2008-05-30  3:24 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-05-29 22:04 UTC (permalink / raw)
  To: Paul Mundt; +Cc: linux-sh, linux-kernel

This patch fixes the following build error caused by
commit a1dc4b59fa4af97ae68ee214d4d72bbd7c7ec1dc
(sh: intc_sh5 depends on cayman board for IRQ priority table.):

<--  snip  -->

...
  CC      arch/sh/kernel/cpu/irq/intc-sh5.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/kernel/cpu/irq/intc-sh5.c: In function 'plat_irq_setup':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/kernel/cpu/irq/intc-sh5.c:257: error: expected declaration or statement at end of input
make[4]: *** [arch/sh/kernel/cpu/irq/intc-sh5.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
0d194eca3c8d5bddb10c9e61ab290e6e5aceab3f diff --git a/arch/sh/kernel/cpu/irq/intc-sh5.c b/arch/sh/kernel/cpu/irq/intc-sh5.c
index de45c6a..79baa47 100644
--- a/arch/sh/kernel/cpu/irq/intc-sh5.c
+++ b/arch/sh/kernel/cpu/irq/intc-sh5.c
@@ -242,6 +242,7 @@ void __init plat_irq_setup(void)
 				reg += 8;
 			}
 		}
+	}
 #endif
 
 	/*


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

* Re: [2.6 patch] sh/kernel/cpu/irq/intc-sh5.c build fix
  2008-05-29 22:04 [2.6 patch] sh/kernel/cpu/irq/intc-sh5.c build fix Adrian Bunk
@ 2008-05-30  3:24 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-05-30  3:24 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-sh, linux-kernel

On Fri, May 30, 2008 at 01:04:49AM +0300, Adrian Bunk wrote:
> This patch fixes the following build error caused by
> commit a1dc4b59fa4af97ae68ee214d4d72bbd7c7ec1dc
> (sh: intc_sh5 depends on cayman board for IRQ priority table.):
> 
> <--  snip  -->
> 
> ...
>   CC      arch/sh/kernel/cpu/irq/intc-sh5.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/kernel/cpu/irq/intc-sh5.c: In function 'plat_irq_setup':
> /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/kernel/cpu/irq/intc-sh5.c:257: error: expected declaration or statement at end of input
> make[4]: *** [arch/sh/kernel/cpu/irq/intc-sh5.o] Error 1
> 
> <--  snip  -->
> 
> Reported-by: Adrian Bunk <bunk@kernel.org>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
Applied, thanks Adrian.

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

end of thread, other threads:[~2008-05-30  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 22:04 [2.6 patch] sh/kernel/cpu/irq/intc-sh5.c build fix Adrian Bunk
2008-05-30  3:24 ` Paul Mundt

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