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:
Родитель
33fc1a211c
Коммит
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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче