summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2015-02-05 08:06:26 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-17 01:10:21 +0200
commit5ba490667355c149eb6f25c8e90c7144be927214 (patch)
tree53f28c9987d13df2b5c075cc2939e1fa146329d3 /c/src/lib
parentGRETH: fix build warnings with GCC-4.9 (diff)
downloadrtems-5ba490667355c149eb6f25c8e90c7144be927214.tar.bz2
LEON3: export debug uart to console uart driver
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/console/printk_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/console/printk_support.c b/c/src/lib/libbsp/sparc/leon3/console/printk_support.c
index 685a193309..2fc005ca4b 100644
--- a/c/src/lib/libbsp/sparc/leon3/console/printk_support.c
+++ b/c/src/lib/libbsp/sparc/leon3/console/printk_support.c
@@ -25,7 +25,7 @@
#include <apbuart_termios.h>
int debug_uart_index __attribute__((weak)) = 0;
-static struct apbuart_regs *dbg_uart = NULL;
+struct apbuart_regs *dbg_uart = NULL;
/* Before UART driver has registered (or when no UART is available), calls to
* printk that gets to bsp_out_char() will be filling data into the