aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-30 08:01:07 -0500
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 14:56:35 -0500
commit844306538920b3aaf6806e238f0c0309a1e2bb5f (patch)
tree447f53dcaad1f0aab1216b34283a1ba72821c7de /arch/m68k
parent66acd2581259d80935fc5216b4b1268d639d9143 (diff)
m68k: apollo 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')
-rw-r--r--arch/m68k/apollo/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/apollo/config.c b/arch/m68k/apollo/config.c
index cf215a082cc6..8d3eafab1ffe 100644
--- a/arch/m68k/apollo/config.c
+++ b/arch/m68k/apollo/config.c
@@ -200,7 +200,8 @@ void dn_sched_init(irq_handler_t timer_routine)
200 printk("*(0x10803) %02x\n",*(volatile unsigned char *)(timer+0x3)); 200 printk("*(0x10803) %02x\n",*(volatile unsigned char *)(timer+0x3));
201#endif 201#endif
202 202
203 request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine); 203 if (request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine))
204 pr_err("Couldn't register timer interrupt\n");
204} 205}
205 206
206unsigned long dn_gettimeoffset(void) { 207unsigned long dn_gettimeoffset(void) {