1 --- a/drivers/tty/serial/8250/8250_core.c
2 +++ b/drivers/tty/serial/8250/8250_core.c
4 * membase is an 'ioremapped' cookie.
7 -#if defined(CONFIG_SERIAL_8250_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
8 +#if defined(CONFIG_SERIAL_8250_SYSRQ) && defined(CONFIG_MAGIC_SYSRQ)
12 --- a/drivers/tty/serial/8250/Kconfig
13 +++ b/drivers/tty/serial/8250/Kconfig
14 @@ -91,6 +91,10 @@ config SERIAL_8250_CONSOLE
18 +config SERIAL_8250_SYSRQ
19 + bool "Magic sysrq support on 8250/16550 devices"
20 + depends on SERIAL_8250_CONSOLE
22 config SERIAL_8250_GSC
24 depends on SERIAL_8250 && GSC