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: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thierry Reding 2013-01-18 08:25:51 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель 49abd90c4b
Коммит 33aeb9da1b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -322,7 +322,7 @@ exit_tx:
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);