From fcd2bb9b5d64d115b4433ddff9fb3289dd9597a2 Mon Sep 17 00:00:00 2001 From: Feng Tang Date: Fri, 14 Jun 2013 18:11:17 +0800 Subject: [PATCH] serial: mfd: Add sysrq support When using MFD HSU based console, sometime we need the sysrq function to help debugging kernel. The sysrq code is basically there, this patch just simply enable it. Signed-off-by: Feng Tang Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/mfd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/mfd.c b/drivers/tty/serial/mfd.c index 5f4765a7a5c5..e266eca0ec76 100644 --- a/drivers/tty/serial/mfd.c +++ b/drivers/tty/serial/mfd.c @@ -21,6 +21,10 @@ * be triggered */ +#if defined(CONFIG_SERIAL_MFD_HSU_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +#define SUPPORT_SYSRQ +#endif + #include #include #include -- 2.39.5