summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-08 08:10:37 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-08 08:12:47 +0100
commitcfeb3cbb68648785e541af0639337abdcf4d4044 (patch)
tree7c11f01755b296c121a026ca1285f717abdcb38c
parentcpukit/libblock: Change license to BSD-2 (diff)
downloadrtems-cfeb3cbb68648785e541af0639337abdcf4d4044.tar.bz2
bsp/leon3: Include missing header file
The <leon.h> include was removed from <bsp.h> in commit 1577a48369fae5e024baa2119b26d25de0f43946.
-rw-r--r--bsps/shared/grlib/uart/apbuart_cons.c1
-rw-r--r--bsps/sparc/leon3/mpci/getcfg.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/bsps/shared/grlib/uart/apbuart_cons.c b/bsps/shared/grlib/uart/apbuart_cons.c
index a0a265ab31..c35020e53f 100644
--- a/bsps/shared/grlib/uart/apbuart_cons.c
+++ b/bsps/shared/grlib/uart/apbuart_cons.c
@@ -43,6 +43,7 @@
/* LEON3 Low level transmit/receive functions provided by debug-uart code */
#ifdef LEON3
+#include <leon.h>
extern struct apbuart_regs *leon3_debug_uart; /* The debug UART */
#endif
diff --git a/bsps/sparc/leon3/mpci/getcfg.c b/bsps/sparc/leon3/mpci/getcfg.c
index fc67cf8e3a..a707b65725 100644
--- a/bsps/sparc/leon3/mpci/getcfg.c
+++ b/bsps/sparc/leon3/mpci/getcfg.c
@@ -15,6 +15,7 @@
#include <rtems.h>
#include <bsp.h>
+#include <leon.h>
#include <shm_driver.h>
/* Let user override this configuration by declaring this a weak variable */