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:
Paul Mundt 2010-10-06 16:44:10 +09:00
Родитель 33fc1a211c
Коммит 6966fed9d8
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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 */