serial: mux: Align SUPPORT_SYSRQ behaviour with other drivers.
authorDaniel Thompson <daniel.thompson@linaro.org>
Fri, 28 Mar 2014 11:41:38 +0000 (11:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 23:13:01 +0000 (16:13 -0700)
commit22766ed8a235f3c9043678c7c594afe683b2372f
tree17fb2fa8fec9ccae58634fca8edc59129473d9d1
parentfcbee4d49f30eb0eaa83a62e6a3cab5a892ed93f
serial: mux: Align SUPPORT_SYSRQ behaviour with other drivers.

The mux driver is anomalous among all the serial drivers that can
define SUPPORT_SYSRQ because it can, with some configs, set
SUPPORT_SYSRQ when SERIAL_CORE_CONSOLE is not set.

Not only does this impose a pointless (but tiny) runtime overhead for
such configs but, more significantly, it adds needless complexity when
doing a code review to check for unexpected side effects of any
changes to the serial core.

This is (cross-)compile tested only because I do not have any PA-RISC
hardware.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mux.c