serial: serial_core.h needs console.h included first
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Sep 2012 05:05:04 +0000 (15:05 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:20:51 +0000 (09:20 -0700)
commitd83b54250988758cd3b9d21c242f98ae61fa1435
treee35585b0f59dfe53f189e9587a66002c7194d1e1
parentb69200fbdf209f356f375da0cfd672f61c7a5866
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>
drivers/tty/serial/sccnxp.c