bsp/zynq-uart: Remove zynq_uart_instances from header

This variable is BSP specific and should be removed from the driver
header file.

Update #3682.
This commit is contained in:
Jeff Kubascik
2019-04-10 19:38:52 -04:00
committed by Sebastian Huber
parent f1eedbde52
commit b0c420b92f
3 changed files with 5 additions and 3 deletions

View File

@@ -28,6 +28,7 @@
#include <rtems/bspIo.h>
#include <rtems/sysinit.h>
#include <bsp.h>
#include <bsp/zynq-uart.h>
#include <bspopts.h>

View File

@@ -54,6 +54,7 @@
#include <bsp/default-initial-extension.h>
#include <bsp/start.h>
#include <bsp/zynq-uart.h>
#ifdef __cplusplus
extern "C" {
@@ -73,6 +74,8 @@ extern "C" {
#define BSP_ARM_L2C_310_ID 0x410000c8
extern zynq_uart_context zynq_uart_instances[2];
/**
* @brief Zynq specific set up of the MMU.
*

View File

@@ -53,9 +53,7 @@ typedef struct {
rtems_vector_number irq;
} zynq_uart_context;
const rtems_termios_device_handler zynq_uart_handler;
extern zynq_uart_context zynq_uart_instances[2];
extern const rtems_termios_device_handler zynq_uart_handler;
#define ZYNQ_UART_DEFAULT_BAUD 115200