mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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>
This commit is contained in:
parent
66acd25812
commit
8443065389
1 changed files with 2 additions and 1 deletions
|
@ -200,7 +200,8 @@ void dn_sched_init(irq_handler_t timer_routine)
|
||||||
printk("*(0x10803) %02x\n",*(volatile unsigned char *)(timer+0x3));
|
printk("*(0x10803) %02x\n",*(volatile unsigned char *)(timer+0x3));
|
||||||
#endif
|
#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) {
|
unsigned long dn_gettimeoffset(void) {
|
||||||
|
|
Loading…
Reference in a new issue