summaryrefslogtreecommitdiffstats
path: root/arch/m68k/mac/baboon.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2008-12-30 14:02:27 +0100
committerGeert Uytterhoeven2009-01-12 20:56:37 +0100
commit92c3dd15cd0589adf66c13c7b6114790c207e5a2 (patch)
tree0fdbcdf7f95cccf467c6537feca76b065c6bae0b /arch/m68k/mac/baboon.c
parentm68k: hp300 core - Kill warn_unused_result warnings (diff)
downloadkernel-qcow2-linux-92c3dd15cd0589adf66c13c7b6114790c207e5a2.tar.gz
kernel-qcow2-linux-92c3dd15cd0589adf66c13c7b6114790c207e5a2.tar.xz
kernel-qcow2-linux-92c3dd15cd0589adf66c13c7b6114790c207e5a2.zip
m68k: mac 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/mac/baboon.c')
-rw-r--r--arch/m68k/mac/baboon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/mac/baboon.c b/arch/m68k/mac/baboon.c
index 245d16d078ad..2a96bebd8969 100644
--- a/arch/m68k/mac/baboon.c
+++ b/arch/m68k/mac/baboon.c
@@ -92,7 +92,8 @@ static irqreturn_t baboon_irq(int irq, void *dev_id)
void __init baboon_register_interrupts(void)
{
baboon_disabled = 0;
- request_irq(IRQ_NUBUS_C, baboon_irq, 0, "baboon", (void *)baboon);
+ if (request_irq(IRQ_NUBUS_C, baboon_irq, 0, "baboon", (void *)baboon))
+ pr_err("Couldn't register baboon interrupt\n");
}
/*