Skip to content

Commit

Permalink
m68k: apollo core - Kill warn_unused_result warnings
Browse files Browse the repository at this point in the history
warning: ignoring return value of 'request_irq', declared with attribute
warn_unused_result

Signed-off-by: Geert Uytterhoeven <[email protected]>
  • Loading branch information
geertu committed Jan 12, 2009
1 parent 66acd25 commit 8443065
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/m68k/apollo/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ void dn_sched_init(irq_handler_t timer_routine)
printk("*(0x10803) %02x\n",*(volatile unsigned char *)(timer+0x3));
#endif

request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine);
if (request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine))
pr_err("Couldn't register timer interrupt\n");
}

unsigned long dn_gettimeoffset(void) {
Expand Down

0 comments on commit 8443065

Please sign in to comment.