summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-06 07:05:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-06 18:20:51 +0200
commitd83b54250988758cd3b9d21c242f98ae61fa1435 (patch)
treee35585b0f59dfe53f189e9587a66002c7194d1e1 /drivers
parentserial: mxs-auart: put the device in mxs_auart_probe() (diff)
downloadlinux-d83b54250988758cd3b9d21c242f98ae61fa1435.tar.xz
linux-d83b54250988758cd3b9d21c242f98ae61fa1435.zip
serial: serial_core.h needs console.h included first
Fixes these build errors: In file included from drivers/tty/serial/sccnxp.c:20:0: include/linux/serial_core.h: In function 'uart_handle_break': include/linux/serial_core.h:543:30: error: dereferencing pointer to incomplete type Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/sccnxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c
index 29dda9ba6f0f..05d767cf82a7 100644
--- a/drivers/tty/serial/sccnxp.c
+++ b/drivers/tty/serial/sccnxp.c
@@ -17,12 +17,12 @@
#include <linux/module.h>
#include <linux/device.h>
+#include <linux/console.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <linux/io.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
-#include <linux/console.h>
#include <linux/platform_device.h>
#include <linux/platform_data/sccnxp.h>