serial: 8250: introduce up_to_u8250p() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 14 Jul 2014 11:26:14 +0000 (14:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:16:23 +0000 (18:16 -0700)
commitb1261c86fe238cc0da3f5dc837a38a0c39f3e7c4
tree4a62c30754e5aca7cf5c665efeabf545b69d52da
parent380c966c093e7239e42a81f165b20b2bad2658bc
serial: 8250: introduce up_to_u8250p() helper

It helps to cast struct uart_port to struct uart_8250_port at runtime.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_dw.c
drivers/tty/serial/8250/8250_fsl.c
drivers/tty/serial/8250/8250_pci.c
include/linux/serial_8250.h