| .. | .. |
|---|
| 1 | | -// SPDX-License-Identifier: GPL-2.0+ |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * Drivers for CSR SiRFprimaII onboard UARTs. |
|---|
| 4 | 4 | * |
|---|
| .. | .. |
|---|
| 120 | 120 | empty_bit = ilog2(port->fifosize) + 1; |
|---|
| 121 | 121 | return (1 << empty_bit); |
|---|
| 122 | 122 | } |
|---|
| 123 | | -struct sirfsoc_uart_register sirfsoc_usp = { |
|---|
| 123 | + |
|---|
| 124 | +static struct sirfsoc_uart_register sirfsoc_usp = { |
|---|
| 124 | 125 | .uart_reg = { |
|---|
| 125 | 126 | .sirfsoc_mode1 = 0x0000, |
|---|
| 126 | 127 | .sirfsoc_mode2 = 0x0004, |
|---|
| .. | .. |
|---|
| 186 | 187 | }, |
|---|
| 187 | 188 | }; |
|---|
| 188 | 189 | |
|---|
| 189 | | -struct sirfsoc_uart_register sirfsoc_uart = { |
|---|
| 190 | +static struct sirfsoc_uart_register sirfsoc_uart = { |
|---|
| 190 | 191 | .uart_reg = { |
|---|
| 191 | 192 | .sirfsoc_line_ctrl = 0x0040, |
|---|
| 192 | 193 | .sirfsoc_tx_rx_en = 0x004c, |
|---|