Dmitry Safonov 5e637d2be2 tty/serial: Migrate sunsu to use has_sysrq
The SUPPORT_SYSRQ ifdeffery is not nice as:
- May create misunderstanding about sizeof(struct uart_port) between
  different objects
- Prevents moving functions from serial_core.h
- Reduces readability (well, it's ifdeffery - it's hard to follow)

In order to remove SUPPORT_SYSRQ, has_sysrq variable has been added.
Initialise it in driver's probe and remove ifdeffery.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20191213000657.931618-48-dima@arista.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-18 15:05:06 +01:00
..
2019-12-03 14:09:14 -08:00
2019-12-18 15:01:41 +01:00
2019-11-13 19:01:14 +08:00
2019-04-16 15:21:34 +02:00
2018-10-13 00:50:32 -04:00
2017-11-28 15:32:33 +01:00
2018-10-13 00:50:32 -04:00
2019-10-04 15:14:20 +02:00
2017-11-08 13:08:12 +01:00
2019-09-04 12:43:44 +02:00
2019-11-04 17:42:28 +01:00
2019-02-12 08:51:33 +01:00
2019-12-17 14:46:23 +01:00
2019-04-16 15:21:34 +02:00