OSDN Git Service

tty/serial: digicolor: remove sysrq reference
authorBaruch Siach <baruch@tkos.co.il>
Wed, 14 Jan 2015 06:04:21 +0000 (08:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:25 +0000 (10:11 -0800)
commitc0b18db0562738eee578b7cd2291bd2851f6b5f8
tree7b710d91f012f4846854aedb47b02b03dccc7c92
parentee15947cf69a9ab035089670ee76160678eb5aa2
tty/serial: digicolor: remove sysrq reference

The Digicolor USART hardware does not support detecting the BREAK condition.
This means that we can't support sysrq on this hardware. Remove all reference
to sysrq from the code.

This also fixes build when sysrq is disabled:

drivers/tty/serial/digicolor-usart.c: In function 'digicolor_uart_console_write':
drivers/tty/serial/digicolor-usart.c:407:33: error: 'struct uart_port' has no member named 'sysrq'

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/digicolor-usart.c