rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-4.4 / 890-8250_optional_sysrq.patch
1 --- a/drivers/tty/serial/8250/8250_port.c
2 +++ b/drivers/tty/serial/8250/8250_port.c
3 @@ -15,7 +15,7 @@
4 * membase is an 'ioremapped' cookie.
5 */
6
7 -#if defined(CONFIG_SERIAL_8250_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
8 +#if defined(CONFIG_SERIAL_8250_SYSRQ) && defined(CONFIG_MAGIC_SYSRQ)
9 #define SUPPORT_SYSRQ
10 #endif
11
12 --- a/drivers/tty/serial/8250/Kconfig
13 +++ b/drivers/tty/serial/8250/Kconfig
14 @@ -91,6 +91,10 @@ config SERIAL_8250_CONSOLE
15
16 If unsure, say N.
17
18 +config SERIAL_8250_SYSRQ
19 + bool "Magic sysrq support on 8250/16550 devices"
20 + depends on SERIAL_8250_CONSOLE
21 +
22 config SERIAL_8250_GSC
23 tristate
24 depends on SERIAL_8250 && GSC