]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: Move overrun_bit and error_mask fields out of pdata
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 6 Dec 2013 09:59:17 +0000 (10:59 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Dec 2013 02:17:48 +0000 (11:17 +0900)
commit3a8c7eb9ed1c575597ebfd58157c2ffc9d2794e7
tree7f68ee23b390715f16e1af02db3a5fd12e29225e
parent92c644ed8451bb2d61fe60a5d6e04f58b3b3ce9e
serial: sh-sci: Move overrun_bit and error_mask fields out of pdata

None of the fields is ever set by board code, and both of them are set
in the driver at probe time. Move them out of struct plat_sci_port to
struct sci_port.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/tty/serial/sh-sci.c
drivers/tty/serial/sh-sci.h
include/linux/serial_sci.h