summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f02a47f7493..d49482c623f 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 */