diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-06 09:44:10 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-06 09:44:10 +0200 |
commit | 6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe (patch) | |
tree | f4a488a38c34eacd724c2098b4e0bcdafc2602ec /drivers/sh/intc/internals.h | |
parent | sh: intc: Add missing files. (diff) | |
download | linux-6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe.tar.xz linux-6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe.zip |
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>
Diffstat (limited to 'drivers/sh/intc/internals.h')
-rw-r--r-- | drivers/sh/intc/internals.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 */ |