提交 6966fed9 编写于 作者: P Paul Mundt

sh: intc: Fix build with IRQ balancing disabled.

The balancing stubs obviously need to be static inline..
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 33fc1a21
......@@ -143,10 +143,11 @@ void intc_balancing_disable(unsigned int irq);
void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
struct intc_desc_int *d, intc_enum id);
#else
void intc_balancing_enable(unsigned int irq) { }
void intc_balancing_disable(unsigned int irq) { }
void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
struct intc_desc_int *d, intc_enum id) { }
static inline void intc_balancing_enable(unsigned int irq) { }
static inline void intc_balancing_disable(unsigned int irq) { }
static inline void
intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
struct intc_desc_int *d, intc_enum id) { }
#endif
/* chip.c */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册