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 <feng.tang@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Feng Tang 2013-06-14 18:11:17 +08:00 committed by Greg Kroah-Hartman
parent bf32d52c45
commit fcd2bb9b5d
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@
* be triggered
*/
#if defined(CONFIG_SERIAL_MFD_HSU_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/init.h>
#include <linux/console.h>