[PATCH 096/111] GENIRQ: fix build warnings

Daniel Hellstrom daniel at gaisler.com
Thu Feb 26 16:39:38 UTC 2015


---
 c/src/lib/libbsp/sparc/shared/irq/genirq.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/shared/irq/genirq.c b/c/src/lib/libbsp/sparc/shared/irq/genirq.c
index 782ebf8..57654b3 100644
--- a/c/src/lib/libbsp/sparc/shared/irq/genirq.c
+++ b/c/src/lib/libbsp/sparc/shared/irq/genirq.c
@@ -159,7 +159,12 @@ int genirq_unregister(genirq_t d, int irq, genirq_handler isr, void *arg)
  *
  * \param action 1=enable, 0=disable ISR
  */
-int genirq_set_active(struct genirq_priv *priv, int irq, genirq_handler isr, void *arg, int action)
+static int genirq_set_active(
+	struct genirq_priv *priv,
+	int irq,
+	genirq_handler isr,
+	void *arg,
+	int action)
 {
 	struct genirq_irq_entry *irqentry;
 	struct genirq_handler_entry *isrentry, *e = NULL;
-- 
1.7.0.4




More information about the devel mailing list