• Haavard Skinnemoen's avatar
    atmel_serial: Fix tty_port breakage · b1d1619b
    Haavard Skinnemoen authored
    The tty pointer has been moved into a tty_port field, so we need to use
    ->info->port.tty instead of just ->info->tty. Fixes these build errors:
    
    David Brownell <david-b@pacbell.net> wrote:
    > drivers/serial/atmel_serial.c: In function 'atmel_rx_from_ring':
    > drivers/serial/atmel_serial.c:665: error: 'struct uart_info' has no member named 'tty'
    > drivers/serial/atmel_serial.c: In function 'atmel_rx_from_dma':
    > drivers/serial/atmel_serial.c:672: error: 'struct uart_info' has no member named 'tty'
    > drivers/serial/atmel_serial.c: In function 'atmel_startup':
    > drivers/serial/atmel_serial.c:797: error: 'struct uart_info' has no member named 'tty'
    > make[2]: *** [drivers/serial/atmel_serial.o] Error 1
    Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
    Signed-off-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b1d1619b
atmel_serial.c 38.9 KB