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:
parent
c5d88d9e25
commit
9c8f1729b0
2 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,7 @@ struct bfin_serial_res {
|
|||
};
|
||||
|
||||
struct bfin_serial_res bfin_serial_resource[] = {
|
||||
{
|
||||
0xFFC00400,
|
||||
IRQ_UART_RX,
|
||||
#ifdef CONFIG_SERIAL_BFIN_DMA
|
||||
|
@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = {
|
|||
CONFIG_UART0_CTS_PIN,
|
||||
CONFIG_UART0_RTS_PIN,
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ struct bfin_serial_res {
|
|||
};
|
||||
|
||||
struct bfin_serial_res bfin_serial_resource[] = {
|
||||
{
|
||||
0xFFC00400,
|
||||
IRQ_UART_RX,
|
||||
#ifdef CONFIG_SERIAL_BFIN_DMA
|
||||
|
@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = {
|
|||
CONFIG_UART0_CTS_PIN,
|
||||
CONFIG_UART0_RTS_PIN,
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue