Commit 639274d8 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k: atafb - Kill warn_unused_result warnings

warning: ignoring return value of 'request_irq', declared with attribute
warn_unused_result
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 5edc304f
...@@ -3075,8 +3075,7 @@ int __init atafb_setup(char *options) ...@@ -3075,8 +3075,7 @@ int __init atafb_setup(char *options)
int __init atafb_init(void) int __init atafb_init(void)
{ {
int pad; int pad, detected_mode, error;
int detected_mode;
unsigned int defmode = 0; unsigned int defmode = 0;
unsigned long mem_req; unsigned long mem_req;
...@@ -3116,8 +3115,12 @@ int __init atafb_init(void) ...@@ -3116,8 +3115,12 @@ int __init atafb_init(void)
printk("atafb_init: initializing Falcon hw\n"); printk("atafb_init: initializing Falcon hw\n");
fbhw = &falcon_switch; fbhw = &falcon_switch;
atafb_ops.fb_setcolreg = &falcon_setcolreg; atafb_ops.fb_setcolreg = &falcon_setcolreg;
request_irq(IRQ_AUTO_4, falcon_vbl_switcher, IRQ_TYPE_PRIO, error = request_irq(IRQ_AUTO_4, falcon_vbl_switcher,
"framebuffer/modeswitch", falcon_vbl_switcher); IRQ_TYPE_PRIO,
"framebuffer/modeswitch",
falcon_vbl_switcher);
if (error)
return error;
defmode = DEFMODE_F30; defmode = DEFMODE_F30;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment