Commit MetaInfo

Revisiond869d052539bab660fe571afdab86e82a7d3f154 (tree)
Time2016-05-01 13:35:29
AuthorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

sh-sci: SysRq support on EARLYCON

Add missing flag condition.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Change Summary

Incremental Difference

--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -18,7 +18,9 @@
1818 * License. See the file "COPYING" in the main directory of this archive
1919 * for more details.
2020 */
21-#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
21+#if (defined(CONFIG_SERIAL_SH_SCI_CONSOLE) || \
22+ defined(CONFIG_SERIAL_SH_SCI_EARLYCON)) && \
23+ defined(CONFIG_MAGIC_SYSRQ)
2224 #define SUPPORT_SYSRQ
2325 #endif
2426
Show on old repository browser