diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2010-10-06 03:44:10 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-06 03:44:10 -0400 |
| commit | 6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe (patch) | |
| tree | f4a488a38c34eacd724c2098b4e0bcdafc2602ec /drivers/sh/intc | |
| parent | 33fc1a211c400049f1b5276d5a925a84d3d2b6d2 (diff) | |
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')
| -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); | |||
| 143 | void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, | 143 | void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, |
| 144 | struct intc_desc_int *d, intc_enum id); | 144 | struct intc_desc_int *d, intc_enum id); |
| 145 | #else | 145 | #else |
| 146 | void intc_balancing_enable(unsigned int irq) { } | 146 | static inline void intc_balancing_enable(unsigned int irq) { } |
| 147 | void intc_balancing_disable(unsigned int irq) { } | 147 | static inline void intc_balancing_disable(unsigned int irq) { } |
| 148 | void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, | 148 | static inline void |
| 149 | struct intc_desc_int *d, intc_enum id) { } | 149 | intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, |
| 150 | struct intc_desc_int *d, intc_enum id) { } | ||
| 150 | #endif | 151 | #endif |
| 151 | 152 | ||
| 152 | /* chip.c */ | 153 | /* chip.c */ |
