projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89c9609
)
[MIPS] IP32: Don't ignore request_irq's return value.
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 28 Jul 2007 23:16:34 +0000
(
00:16
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:30 +0000
(21:35 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/ip32-reset.c
patch
|
blob
|
history
diff --git
a/arch/mips/sgi-ip32/ip32-reset.c
b/arch/mips/sgi-ip32/ip32-reset.c
index db8084411538bc3bcdfa6ef047eca8f1d835c2ed..624bbdbff2a8bf40d47ae412d5361b43369b9b36 100644
(file)
--- a/
arch/mips/sgi-ip32/ip32-reset.c
+++ b/
arch/mips/sgi-ip32/ip32-reset.c
@@
-195,7
+195,8
@@
static __init int ip32_reboot_setup(void)
blink_timer.function = blink_timeout;
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;
}