Commit c3dd8cdf authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP32: Don't ignore request_irq's return value.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 89c96096
...@@ -195,7 +195,8 @@ static __init int ip32_reboot_setup(void) ...@@ -195,7 +195,8 @@ static __init int ip32_reboot_setup(void)
blink_timer.function = blink_timeout; blink_timer.function = blink_timeout;
atomic_notifier_chain_register(&panic_notifier_list, &panic_block); atomic_notifier_chain_register(&panic_notifier_list, &panic_block);
request_irq(MACEISA_RTC_IRQ, ip32_rtc_int, 0, "rtc", NULL); if (request_irq(MACEISA_RTC_IRQ, ip32_rtc_int, 0, "rtc", NULL))
panic("Can't allocate MACEISA RTC IRQ");
return 0; return 0;
} }
......
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