[PATCH 3/4] bsp/leon3: Declare LEON3_IrqCtrl_EIrq only once
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Feb 18 11:53:11 UTC 2014
---
c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h b/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h
index 71c0df3..ee1bf63 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h
+++ b/c/src/lib/libbsp/sparc/leon3/include/bsp/irq.h
@@ -10,6 +10,8 @@
#ifndef LIBBSP_LEON3_IRQ_CONFIG_H
#define LIBBSP_LEON3_IRQ_CONFIG_H
+#include <leon.h>
+
#define BSP_INTERRUPT_VECTOR_MAX_STD 15 /* Standard IRQ controller */
#define BSP_INTERRUPT_VECTOR_MAX_EXT 31 /* Extended IRQ controller */
@@ -19,8 +21,6 @@
/* The check is different depending on IRQ controller, runtime detected */
#define BSP_INTERRUPT_CUSTOM_VALID_VECTOR
-extern int LEON3_IrqCtrl_EIrq;
-
/**
* @brief Returns true if the interrupt vector with number @a vector is valid.
*/
--
1.7.7
More information about the devel
mailing list