Skip to contentSkip to conversation

sh/kernel/cpu/irq/intc-sh5.c build fix

PATCH Applied Adrian Bunk 2 participants 2 messages May 29, 2008 – May 30, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh/kernel/cpu/irq/intc-sh5.c build fix

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

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

arch/sh/kernel/cpu/irq/intc-sh5.c +1 -0
@@ -242,6 +242,7 @@ void __init plat_irq_setup(void)
 				reg += 8;
 			}
 		}
+	}
 #endif
 
 	/*
Applied
#1 lore raw
Quoted 12 lines · Adrian Bunk

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

Quoted 5 lines

<-- snip -->

Applied, thanks Adrian.