]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteaac0c1a45b8d6a3a21e91a8d72821842ff66c4d
tree4a62c30754e5aca7cf5c665efeabf545b69d52da
parent77918d653b2f0414012e601eaf3781b91c7530ae
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