[rtems commit] bsp/leon3: Include missing header file
Sebastian Huber
sebh at rtems.org
Tue Mar 8 07:03:24 UTC 2022
Module: rtems
Branch: master
Commit: cfeb3cbb68648785e541af0639337abdcf4d4044
Changeset: http://git.rtems.org/rtems/commit/?id=cfeb3cbb68648785e541af0639337abdcf4d4044
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Mar 8 08:10:37 2022 +0100
bsp/leon3: Include missing header file
The <leon.h> include was removed from <bsp.h> in commit
1577a48369fae5e024baa2119b26d25de0f43946.
---
bsps/shared/grlib/uart/apbuart_cons.c | 1 +
bsps/sparc/leon3/mpci/getcfg.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/bsps/shared/grlib/uart/apbuart_cons.c b/bsps/shared/grlib/uart/apbuart_cons.c
index a0a265a..c35020e 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 fc67cf8..a707b65 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 */
More information about the vc
mailing list