kernel/drivers/tty/serial/bcm63xx_uart.c
.. .. @@ -10,10 +10,6 @@ 10 10 * my board. 11 11 */ 12 12 13 -#if defined(CONFIG_SERIAL_BCM63XX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)14 -#define SUPPORT_SYSRQ15 -#endif16 -17 13 #include <linux/kernel.h> 18 14 #include <linux/platform_device.h> 19 15 #include <linux/init.h> .. .. @@ -858,6 +854,7 @@ 858 854 port->fifosize = 16; 859 855 port->uartclk = clk_get_rate(clk) / 2; 860 856 port->line = pdev->id; 857 + port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_BCM63XX_CONSOLE);861 858 clk_put(clk); 862 859 863 860 ret = uart_add_one_port(&bcm_uart_driver, port);