|
@@ -1206,7 +1206,7 @@ static struct uart_driver tegra_uart_driver = {
|
|
|
.owner = THIS_MODULE,
|
|
|
.driver_name = "tegra_hsuart",
|
|
|
.dev_name = "ttyTHS",
|
|
|
- .cons = 0,
|
|
|
+ .cons = NULL,
|
|
|
.nr = TEGRA_UART_MAXIMUM,
|
|
|
};
|
|
|
|
|
@@ -1237,13 +1237,13 @@ static int tegra_uart_parse_dt(struct platform_device *pdev,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-struct tegra_uart_chip_data tegra20_uart_chip_data = {
|
|
|
+static struct tegra_uart_chip_data tegra20_uart_chip_data = {
|
|
|
.tx_fifo_full_status = false,
|
|
|
.allow_txfifo_reset_fifo_mode = true,
|
|
|
.support_clk_src_div = false,
|
|
|
};
|
|
|
|
|
|
-struct tegra_uart_chip_data tegra30_uart_chip_data = {
|
|
|
+static struct tegra_uart_chip_data tegra30_uart_chip_data = {
|
|
|
.tx_fifo_full_status = true,
|
|
|
.allow_txfifo_reset_fifo_mode = false,
|
|
|
.support_clk_src_div = true,
|