From: Feng Tang Date: Fri, 14 Jun 2013 10:11:17 +0000 (+0800) Subject: serial: mfd: Add sysrq support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fcd2bb9b5d64d115b4433ddff9fb3289dd9597a2;p=linux-beck.git 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 --- 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