Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6261c8e3 authored by Mark A. Greer's avatar Mark A. Greer Committed by Linus Torvalds
Browse files

[PATCH] serial: mpsc driver has definition of SUPPORT_SYSRQ below include of serial_core.h



The definition of SUPPORT_SYSRQ must come before #include of serial_core.h.
This patch moves the definition of SUPPORT_SYSRQ to be just after the #include
of config.h to make it consistent with 8250.c.

Reported-by: default avatarStephane Chazelas <Stephane@artesyncp.com>
Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a30ff2e3
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@
#define	__MPSC_H__

#include <linux/config.h>

#if defined(CONFIG_SERIAL_MPSC_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/tty.h>
@@ -31,10 +36,6 @@
#include <asm/io.h>
#include <asm/irq.h>

#if defined(CONFIG_SERIAL_MPSC_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif

#define	MPSC_NUM_CTLRS		2

/*