.. | .. |
---|
7 | 7 | * Based on drivers/serial/8250.c, by Russell King. |
---|
8 | 8 | */ |
---|
9 | 9 | |
---|
10 | | -#if defined(CONFIG_SERIAL_VR41XX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) |
---|
11 | | -#define SUPPORT_SYSRQ |
---|
12 | | -#endif |
---|
13 | | - |
---|
14 | 10 | #include <linux/console.h> |
---|
15 | 11 | #include <linux/errno.h> |
---|
16 | 12 | #include <linux/init.h> |
---|
.. | .. |
---|
869 | 865 | port = &siu_uart_ports[i]; |
---|
870 | 866 | port->ops = &siu_uart_ops; |
---|
871 | 867 | port->dev = &dev->dev; |
---|
| 868 | + port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_VR41XX_CONSOLE); |
---|
872 | 869 | |
---|
873 | 870 | retval = uart_add_one_port(&siu_uart_driver, port); |
---|
874 | 871 | if (retval < 0) { |
---|