diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-12-30 08:03:28 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-01-12 14:56:37 -0500 |
commit | 41904f8fe160202b8bfcc5da91dd927be40775b3 (patch) | |
tree | ed23f8a765fb985b3caa2e04d115ba397b31bb28 /arch/m68k | |
parent | 92c3dd15cd0589adf66c13c7b6114790c207e5a2 (diff) |
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>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/mvme147/config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/mvme147/config.c b/arch/m68k/mvme147/config.c index b72f079ec2f3..100baaa692a1 100644 --- a/arch/m68k/mvme147/config.c +++ b/arch/m68k/mvme147/config.c | |||
@@ -114,8 +114,9 @@ static irqreturn_t mvme147_timer_int (int irq, void *dev_id) | |||
114 | void mvme147_sched_init (irq_handler_t timer_routine) | 114 | void mvme147_sched_init (irq_handler_t timer_routine) |
115 | { | 115 | { |
116 | tick_handler = timer_routine; | 116 | tick_handler = timer_routine; |
117 | request_irq (PCC_IRQ_TIMER1, mvme147_timer_int, | 117 | if (request_irq(PCC_IRQ_TIMER1, mvme147_timer_int, IRQ_FLG_REPLACE, |
118 | IRQ_FLG_REPLACE, "timer 1", NULL); | 118 | "timer 1", NULL)) |
119 | pr_err("Couldn't register timer interrupt\n"); | ||
119 | 120 | ||
120 | /* Init the clock with a value */ | 121 | /* Init the clock with a value */ |
121 | /* our clock goes off every 6.25us */ | 122 | /* our clock goes off every 6.25us */ |