summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2016-04-28 00:49:13 +0900
committerRich Felker <dalias@libc.org>2016-04-28 20:47:54 +0000
commitedd054cfdb4b9cfb25e7f4d940f89be3488cfa86 (patch)
tree27fc8d266c97e971c1daa8e823073beb042993c1
parent511bc46f2afc11ccb966c65391fe6488e82d05b9 (diff)
downloadlinux-sh-edd054cfdb4b9cfb25e7f4d940f89be3488cfa86.tar.gz
sh-sci: SysRq support on EARLYCON
Add missing flag condition. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
-rw-r--r--drivers/tty/serial/sh-sci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 0130feb069ae..5a73620d6ca2 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -18,7 +18,9 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
-#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
+#if (defined(CONFIG_SERIAL_SH_SCI_CONSOLE) || \
+ defined(CONFIG_SERIAL_SH_SCI_EARLYCON)) && \
+ defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif