forked from luck/tmp_suning_uos_patched
sh: intc: Fix build with IRQ balancing disabled.
The balancing stubs obviously need to be static inline.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
33fc1a211c
commit
6966fed9d8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user