--- zzzz-none-000/linux-3.10.107/drivers/tty/serial/8250/8250_fsl.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/tty/serial/8250/8250_fsl.c 2021-02-04 17:41:59.000000000 +0000 @@ -28,8 +28,7 @@ unsigned char lsr, orig_lsr; unsigned long flags; unsigned int iir; - struct uart_8250_port *up = - container_of(port, struct uart_8250_port, port); + struct uart_8250_port *up = up_to_u8250p(port); spin_lock_irqsave(&up->port.lock, flags); @@ -61,3 +60,4 @@ spin_unlock_irqrestore(&up->port.lock, flags); return 1; } +EXPORT_SYMBOL_GPL(fsl8250_handle_irq);