aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/amiga/cia.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-30 14:00:34 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 20:56:35 +0100
commit66acd2581259d80935fc5216b4b1268d639d9143 (patch)
tree4473773fc15cc86f6334aedf77c764322f77966f /arch/m68k/amiga/cia.c
parentc85627fbf5f47045b25bf66f1b4a7001b5b157af (diff)
downloadkernel_goldelico_gta04-66acd2581259d80935fc5216b4b1268d639d9143.zip
kernel_goldelico_gta04-66acd2581259d80935fc5216b4b1268d639d9143.tar.gz
kernel_goldelico_gta04-66acd2581259d80935fc5216b4b1268d639d9143.tar.bz2
m68k: amiga core - Kill warn_unused_result warnings
warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/amiga/cia.c')
-rw-r--r--arch/m68k/amiga/cia.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/amiga/cia.c b/arch/m68k/amiga/cia.c
index 343fab4..ecd0f7c 100644
--- a/arch/m68k/amiga/cia.c
+++ b/arch/m68k/amiga/cia.c
@@ -176,5 +176,7 @@ void __init cia_init_IRQ(struct ciabase *base)
/* override auto int and install CIA handler */
m68k_setup_irq_controller(&auto_irq_controller, base->handler_irq, 1);
m68k_irq_startup(base->handler_irq);
- request_irq(base->handler_irq, cia_handler, IRQF_SHARED, base->name, base);
+ if (request_irq(base->handler_irq, cia_handler, IRQF_SHARED,
+ base->name, base))
+ pr_err("Couldn't register %s interrupt\n", base->name);
}