aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/intc
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-06 16:44:10 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-10-06 16:44:10 +0900
commit6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe (patch)
treef4a488a38c34eacd724c2098b4e0bcdafc2602ec /drivers/sh/intc
parent33fc1a211c400049f1b5276d5a925a84d3d2b6d2 (diff)
downloadkernel_samsung_smdk4412-6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe.zip
kernel_samsung_smdk4412-6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe.tar.gz
kernel_samsung_smdk4412-6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe.tar.bz2
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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/sh/intc/internals.h b/drivers/sh/intc/internals.h
index f02a47f..d49482c 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 */