diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-06-20 23:34:16 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-20 23:34:16 -0400 |
commit | 9c8f1729b0a838dc0f44b77dab80890a98585964 (patch) | |
tree | 8698d6e19c59ccc93c613af2bb758c1f95ec0670 | |
parent | c5d88d9e2566e7ddccb0e001446b9a39882560a3 (diff) |
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>
-rw-r--r-- | include/asm-blackfin/mach-bf533/bfin_serial_5xx.h | 2 | ||||
-rw-r--r-- | include/asm-blackfin/mach-bf561/bfin_serial_5xx.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-bf533/bfin_serial_5xx.h b/include/asm-blackfin/mach-bf533/bfin_serial_5xx.h index 23bf76aa3451..e043cafa3c42 100644 --- a/include/asm-blackfin/mach-bf533/bfin_serial_5xx.h +++ b/include/asm-blackfin/mach-bf533/bfin_serial_5xx.h | |||
@@ -78,6 +78,7 @@ struct bfin_serial_res { | |||
78 | }; | 78 | }; |
79 | 79 | ||
80 | struct bfin_serial_res bfin_serial_resource[] = { | 80 | struct bfin_serial_res bfin_serial_resource[] = { |
81 | { | ||
81 | 0xFFC00400, | 82 | 0xFFC00400, |
82 | IRQ_UART_RX, | 83 | IRQ_UART_RX, |
83 | #ifdef CONFIG_SERIAL_BFIN_DMA | 84 | #ifdef CONFIG_SERIAL_BFIN_DMA |
@@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = { | |||
88 | CONFIG_UART0_CTS_PIN, | 89 | CONFIG_UART0_CTS_PIN, |
89 | CONFIG_UART0_RTS_PIN, | 90 | CONFIG_UART0_RTS_PIN, |
90 | #endif | 91 | #endif |
92 | } | ||
91 | }; | 93 | }; |
92 | 94 | ||
93 | 95 | ||
diff --git a/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h b/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h index 23bf76aa3451..e043cafa3c42 100644 --- a/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h +++ b/include/asm-blackfin/mach-bf561/bfin_serial_5xx.h | |||
@@ -78,6 +78,7 @@ struct bfin_serial_res { | |||
78 | }; | 78 | }; |
79 | 79 | ||
80 | struct bfin_serial_res bfin_serial_resource[] = { | 80 | struct bfin_serial_res bfin_serial_resource[] = { |
81 | { | ||
81 | 0xFFC00400, | 82 | 0xFFC00400, |
82 | IRQ_UART_RX, | 83 | IRQ_UART_RX, |
83 | #ifdef CONFIG_SERIAL_BFIN_DMA | 84 | #ifdef CONFIG_SERIAL_BFIN_DMA |
@@ -88,6 +89,7 @@ struct bfin_serial_res bfin_serial_resource[] = { | |||
88 | CONFIG_UART0_CTS_PIN, | 89 | CONFIG_UART0_CTS_PIN, |
89 | CONFIG_UART0_RTS_PIN, | 90 | CONFIG_UART0_RTS_PIN, |
90 | #endif | 91 | #endif |
92 | } | ||
91 | }; | 93 | }; |
92 | 94 | ||
93 | 95 | ||