]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: irq_node.handler() should return irqreturn_t
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 26 Mar 2009 08:48:45 +0000 (09:48 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 26 Mar 2009 20:15:30 +0000 (21:15 +0100)
commit81b020365cea1f507440c824824ead78d83667c7
treee72ff2b8af7523c13c56268935fdde592d1362cd
parentec4caba3deacd71563fc86f99728448cc978288e
m68k: irq_node.handler() should return irqreturn_t

commit 16ac25dca92e22974ab2de863c8b28c330c77eff ("m68k: introduce irq
controller") reverted the return type of struct irq_node.handler() from
irqreturn_t to int. Change it back to irqreturn_t, else it will give a
compiler warning when irqreturn_t is turned into an enum in the near future:

| arch/m68k/kernel/ints.c:231: warning: assignment from incompatible pointer type

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/irq_mm.h