mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
m68k: mvme147 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
92c3dd15cd
commit
41904f8fe1
1 changed files with 3 additions and 2 deletions
|
@ -114,8 +114,9 @@ static irqreturn_t mvme147_timer_int (int irq, void *dev_id)
|
||||||
void mvme147_sched_init (irq_handler_t timer_routine)
|
void mvme147_sched_init (irq_handler_t timer_routine)
|
||||||
{
|
{
|
||||||
tick_handler = timer_routine;
|
tick_handler = timer_routine;
|
||||||
request_irq (PCC_IRQ_TIMER1, mvme147_timer_int,
|
if (request_irq(PCC_IRQ_TIMER1, mvme147_timer_int, IRQ_FLG_REPLACE,
|
||||||
IRQ_FLG_REPLACE, "timer 1", NULL);
|
"timer 1", NULL))
|
||||||
|
pr_err("Couldn't register timer interrupt\n");
|
||||||
|
|
||||||
/* Init the clock with a value */
|
/* Init the clock with a value */
|
||||||
/* our clock goes off every 6.25us */
|
/* our clock goes off every 6.25us */
|
||||||
|
|
Loading…
Reference in a new issue