aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sh_intc.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-03-10 04:31:01 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-03-19 03:45:31 -0400
commit01e9651a21bc0e6731da733593e4aaf4cf46b5e5 (patch)
tree133befa54fca69f3b4c4bc1ffcc621bb5fb4f9b0 /include/linux/sh_intc.h
parent39710479303fd3affb3e204e9a7a75cc676977b5 (diff)
sh: add INTC out of memory error handling
Extend the INTC code to warn and return an error code in the case of memory allocation failure. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_intc.h')
-rw-r--r--include/linux/sh_intc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h
index 51d288d8ac88..df3777035936 100644
--- a/include/linux/sh_intc.h
+++ b/include/linux/sh_intc.h
@@ -92,7 +92,7 @@ struct intc_desc symbol __initdata = { \
92 prio_regs, sense_regs, ack_regs), \ 92 prio_regs, sense_regs, ack_regs), \
93} 93}
94 94
95void __init register_intc_controller(struct intc_desc *desc); 95int __init register_intc_controller(struct intc_desc *desc);
96int intc_set_priority(unsigned int irq, unsigned int prio); 96int intc_set_priority(unsigned int irq, unsigned int prio);
97 97
98int reserve_irq_vector(unsigned int irq); 98int reserve_irq_vector(unsigned int irq);