aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-06 03:44:10 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-10-06 03:44:10 -0400
commit6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe (patch)
treef4a488a38c34eacd724c2098b4e0bcdafc2602ec /drivers/sh
parent33fc1a211c400049f1b5276d5a925a84d3d2b6d2 (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')
-rw-r--r--drivers/sh/intc/internals.h9
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);
143void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, 143void 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
146void intc_balancing_enable(unsigned int irq) { } 146static inline void intc_balancing_enable(unsigned int irq) { }
147void intc_balancing_disable(unsigned int irq) { } 147static inline void intc_balancing_disable(unsigned int irq) { }
148void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, 148static inline void
149 struct intc_desc_int *d, intc_enum id) { } 149intc_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 */