From 6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Wed, 6 Oct 2010 16:44:10 +0900 Subject: sh: intc: Fix build with IRQ balancing disabled. The balancing stubs obviously need to be static inline.. Signed-off-by: Paul Mundt --- drivers/sh/intc/internals.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'drivers/sh') diff --git a/drivers/sh/intc/internals.h b/drivers/sh/intc/internals.h index f02a47f74930..d49482c623fa 100644 --- a/drivers/sh/intc/internals.h +++ b/drivers/sh/intc/internals.h @@ -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 */ -- cgit v1.2.3-58-ga151