Commit 6966fed9 authored by Paul Mundt's avatar Paul Mundt

sh: intc: Fix build with IRQ balancing disabled.

The balancing stubs obviously need to be static inline..
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 33fc1a21
......@@ -143,9 +143,10 @@ 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,
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
......
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