Skip to content

Commit 7cb6cc7

Browse files
committed
[bsp][qemu][a9] Adapter driver for serial port v2
1 parent 658c8f3 commit 7cb6cc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bsp/qemu-vexpress-a9/drivers/drv_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct rt_serial_device serial2;
5858
struct rt_serial_device serial3;
5959
#endif
6060

61-
static const struct hw_uart_device _uart_device[] = {
61+
static struct hw_uart_device _uart_device[] = {
6262
#if defined(BSP_USING_UART0)
6363
{
6464
REALVIEW_UART0_BASE,

bsp/qemu-vexpress-a9/drivers/drv_uart_v2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct rt_serial_device serial2;
6161
struct rt_serial_device serial3;
6262
#endif
6363

64-
static const struct hw_uart_device _uart_device[] = {
64+
static struct hw_uart_device _uart_device[] = {
6565
#if defined(BSP_USING_UART0)
6666
{
6767
REALVIEW_UART0_BASE,

0 commit comments

Comments
 (0)