Blackfin arch: add missing braces around array bfin serial init
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
@@ -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[] = {
|
|||||||
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 {
|
|||||||
};
|
};
|
||||||
|
|
||||||
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[] = {
|
|||||||
CONFIG_UART0_CTS_PIN,
|
CONFIG_UART0_CTS_PIN,
|
||||||
CONFIG_UART0_RTS_PIN,
|
CONFIG_UART0_RTS_PIN,
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user