Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33aeb9da authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

serial: lpc32xx: Fix fallout from tty_port conversion



A duplicate definition of the port variable was introduced in the
interrupt handler, which causes the build to break. The fix is to
rename the variable to tport, which is already properly used in
subsequent code.

Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49abd90c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -322,7 +322,7 @@ static void __serial_lpc32xx_tx(struct uart_port *port)
static irqreturn_t serial_lpc32xx_interrupt(int irq, void *dev_id)
{
	struct uart_port *port = dev_id;
	struct tty_port *port = &port->state->port;
	struct tty_port *tport = &port->state->port;
	u32 status;

	spin_lock(&port->lock);