Commit 1c36ac5d authored by Russell King's avatar Russell King

[SERIAL] Fix sa1100 serial driver stop function parameters.

parent 8ff2d043
...@@ -306,7 +306,7 @@ static void sa1100_tx_chars(struct sa1100_port *sport) ...@@ -306,7 +306,7 @@ static void sa1100_tx_chars(struct sa1100_port *sport)
sa1100_mctrl_check(sport); sa1100_mctrl_check(sport);
if (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port)) { if (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port)) {
sa1100_stop_tx(sport); sa1100_stop_tx(&sport->port, 0);
return; return;
} }
...@@ -326,7 +326,7 @@ static void sa1100_tx_chars(struct sa1100_port *sport) ...@@ -326,7 +326,7 @@ static void sa1100_tx_chars(struct sa1100_port *sport)
uart_event(&sport->port, EVT_WRITE_WAKEUP); uart_event(&sport->port, EVT_WRITE_WAKEUP);
if (uart_circ_empty(xmit)) if (uart_circ_empty(xmit))
sa1100_stop_tx(sport); sa1100_stop_tx(&sport->port, 0);
} }
static void sa1100_int(int irq, void *dev_id, struct pt_regs *regs) static void sa1100_int(int irq, void *dev_id, struct pt_regs *regs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment