sh: intc: Fix build with IRQ balancing disabled.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 6 Oct 2010 07:44:10 +0000 (16:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Oct 2010 07:44:10 +0000 (16:44 +0900)
The balancing stubs obviously need to be static inline..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/internals.h

index f02a47f74930bf6d30332093be601eda94c518cb..d49482c623fa1fb22dea33d9e608a7e998fafeae 100644 (file)
@@ -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 */