diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-09-06 01:05:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 12:20:51 -0400 |
commit | d83b54250988758cd3b9d21c242f98ae61fa1435 (patch) | |
tree | e35585b0f59dfe53f189e9587a66002c7194d1e1 /drivers/tty/serial/sccnxp.c | |
parent | b69200fbdf209f356f375da0cfd672f61c7a5866 (diff) |
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/tty/serial/sccnxp.c')
-rw-r--r-- | drivers/tty/serial/sccnxp.c | 2 |
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 @@ | |||
17 | 17 | ||
18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/device.h> | 19 | #include <linux/device.h> |
20 | #include <linux/console.h> | ||
20 | #include <linux/serial_core.h> | 21 | #include <linux/serial_core.h> |
21 | #include <linux/serial.h> | 22 | #include <linux/serial.h> |
22 | #include <linux/io.h> | 23 | #include <linux/io.h> |
23 | #include <linux/tty.h> | 24 | #include <linux/tty.h> |
24 | #include <linux/tty_flip.h> | 25 | #include <linux/tty_flip.h> |
25 | #include <linux/console.h> | ||
26 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
27 | #include <linux/platform_data/sccnxp.h> | 27 | #include <linux/platform_data/sccnxp.h> |
28 | 28 | ||