• J
    TTY: serial/bfin_uart, unbreak build with KGDB enabled · e99c33b9
    Jiri Slaby 提交于
    There are no (and never were any) kgdb fields in uart_ops. Setting
    them produces a build error:
    drivers/tty/serial/bfin_uart.c:1054:2: error: unknown field 'kgdboc_port_startup' specified in initializer
    drivers/tty/serial/bfin_uart.c:1054:2: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/bfin_uart.c:1054:2: warning: (near initialization for 'bfin_serial_pops.ioctl') [enabled by default]
    drivers/tty/serial/bfin_uart.c:1055:2: error: unknown field 'kgdboc_port_shutdown' specified in initializer
    drivers/tty/serial/bfin_uart.c:1055:2: warning: initialization from incompatible pointer type [enabled by default]
    drivers/tty/serial/bfin_uart.c:1055:2: warning: (near initialization for 'bfin_serial_pops.poll_init') [enabled by default]
    
    Remove them.
    Signed-off-by: NJiri Slaby <jslaby@suse.cz>
    Acked-by: NSonic Zhang <sonic.zhang@analog.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    e99c33b9
bfin_uart.c 39.3 KB