Skip to content

Commit

Permalink
serial: lpc32xx: Fix fallout from tty_port conversion
Browse files Browse the repository at this point in the history
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: Thierry Reding <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Thierry Reding authored and gregkh committed Jan 19, 2013
1 parent 49abd90 commit 33aeb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/lpc32xx_hs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 33aeb9d

Please sign in to comment.