[PATCH] serial_txx9: Fix build failure by tty_port conversion - Kernel

This is a discussion on [PATCH] serial_txx9: Fix build failure by tty_port conversion - Kernel ; Since commit df4f4dd429870f435f8d5d9d561db029a29f063b ("serial: use tty_port"), serial_txx9 cause this build failure: linux/drivers/serial/serial_txx9.c: In function 'receive_chars': linux/drivers/serial/serial_txx9.c:275: error: 'struct uart_info' has no member named 'tty' Signed-off-by: Atsushi Nemoto --- diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c index 7ad2192..8fcb4c5 100644 --- a/drivers/serial/serial_txx9.c +++ b/drivers/serial/serial_txx9.c @@ ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] serial_txx9: Fix build failure by tty_port conversion

  1. [PATCH] serial_txx9: Fix build failure by tty_port conversion

    Since commit df4f4dd429870f435f8d5d9d561db029a29f063b ("serial: use
    tty_port"), serial_txx9 cause this build failure:

    linux/drivers/serial/serial_txx9.c: In function 'receive_chars':
    linux/drivers/serial/serial_txx9.c:275: error: 'struct uart_info' has no member named 'tty'

    Signed-off-by: Atsushi Nemoto
    ---
    diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c
    index 7ad2192..8fcb4c5 100644
    --- a/drivers/serial/serial_txx9.c
    +++ b/drivers/serial/serial_txx9.c
    @@ -272,7 +272,7 @@ static void serial_txx9_initialize(struct uart_port *port)
    static inline void
    receive_chars(struct uart_txx9_port *up, unsigned int *status)
    {
    - struct tty_struct *tty = up->port.info->tty;
    + struct tty_struct *tty = up->port.info->port.tty;
    unsigned char ch;
    unsigned int disr = *status;
    int max_count = 256;
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] serial_txx9: Fix build failure by tty_port conversion

    On Mon, 21 Jul 2008 23:41:28 +0900 (JST)
    Atsushi Nemoto wrote:

    > Since commit df4f4dd429870f435f8d5d9d561db029a29f063b ("serial: use
    > tty_port"), serial_txx9 cause this build failure:
    >
    > linux/drivers/serial/serial_txx9.c: In function 'receive_chars':
    > linux/drivers/serial/serial_txx9.c:275: error: 'struct uart_info' has no member named 'tty'
    >
    > Signed-off-by: Atsushi Nemoto


    Already sent to Linus
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread