.. | .. |
---|
7 | 7 | * Author: Robert Love <rlove@google.com> |
---|
8 | 8 | */ |
---|
9 | 9 | |
---|
10 | | -#if defined(CONFIG_SERIAL_VT8500_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) |
---|
11 | | -# define SUPPORT_SYSRQ |
---|
12 | | -#endif |
---|
13 | | - |
---|
14 | 10 | #include <linux/hrtimer.h> |
---|
15 | 11 | #include <linux/delay.h> |
---|
16 | 12 | #include <linux/io.h> |
---|
.. | .. |
---|
703 | 699 | vt8500_port->uart.line = port; |
---|
704 | 700 | vt8500_port->uart.dev = &pdev->dev; |
---|
705 | 701 | vt8500_port->uart.flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF; |
---|
| 702 | + vt8500_port->uart.has_sysrq = IS_ENABLED(CONFIG_SERIAL_VT8500_CONSOLE); |
---|
706 | 703 | |
---|
707 | 704 | /* Serial core uses the magic "16" everywhere - adjust for it */ |
---|
708 | 705 | vt8500_port->uart.uartclk = 16 * clk_get_rate(vt8500_port->clk) / |
---|