Commit 9c8f1729 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: add missing braces around array bfin serial init

Signed-off-by: default avatarMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent c5d88d9e
...@@ -78,6 +78,7 @@ struct bfin_serial_res { ...@@ -78,6 +78,7 @@ struct bfin_serial_res {
}; };
struct bfin_serial_res bfin_serial_resource[] = { struct bfin_serial_res bfin_serial_resource[] = {
{
0xFFC00400, 0xFFC00400,
IRQ_UART_RX, IRQ_UART_RX,
#ifdef CONFIG_SERIAL_BFIN_DMA #ifdef CONFIG_SERIAL_BFIN_DMA
...@@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = { ...@@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = {
CONFIG_UART0_CTS_PIN, CONFIG_UART0_CTS_PIN,
CONFIG_UART0_RTS_PIN, CONFIG_UART0_RTS_PIN,
#endif #endif
}
}; };
......
...@@ -78,6 +78,7 @@ struct bfin_serial_res { ...@@ -78,6 +78,7 @@ struct bfin_serial_res {
}; };
struct bfin_serial_res bfin_serial_resource[] = { struct bfin_serial_res bfin_serial_resource[] = {
{
0xFFC00400, 0xFFC00400,
IRQ_UART_RX, IRQ_UART_RX,
#ifdef CONFIG_SERIAL_BFIN_DMA #ifdef CONFIG_SERIAL_BFIN_DMA
...@@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = { ...@@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = {
CONFIG_UART0_CTS_PIN, CONFIG_UART0_CTS_PIN,
CONFIG_UART0_RTS_PIN, CONFIG_UART0_RTS_PIN,
#endif #endif
}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment