forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/tty/serial/sirfsoc_uart.h
....@@ -1,4 +1,4 @@
1
-// SPDX-License-Identifier: GPL-2.0+
1
+/* SPDX-License-Identifier: GPL-2.0+ */
22 /*
33 * Drivers for CSR SiRFprimaII onboard UARTs.
44 *
....@@ -120,7 +120,8 @@
120120 empty_bit = ilog2(port->fifosize) + 1;
121121 return (1 << empty_bit);
122122 }
123
-struct sirfsoc_uart_register sirfsoc_usp = {
123
+
124
+static struct sirfsoc_uart_register sirfsoc_usp = {
124125 .uart_reg = {
125126 .sirfsoc_mode1 = 0x0000,
126127 .sirfsoc_mode2 = 0x0004,
....@@ -186,7 +187,7 @@
186187 },
187188 };
188189
189
-struct sirfsoc_uart_register sirfsoc_uart = {
190
+static struct sirfsoc_uart_register sirfsoc_uart = {
190191 .uart_reg = {
191192 .sirfsoc_line_ctrl = 0x0040,
192193 .sirfsoc_tx_rx_en = 0x004c,