]> git.baikalelectronics.ru Git - kernel.git/commit
serial: Add rs485_supported to uart_port
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 6 Jun 2022 10:04:00 +0000 (13:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:49:24 +0000 (13:49 +0200)
commit10919bfbdb0546e8d240636eff648feb9e709c83
treee4fe99f6bc03e5e7fca3b86e85a5c939c7617fbe
parent592b78ccb462d008ccbfff8a04c30f4cb79b3edc
serial: Add rs485_supported to uart_port

Preparing to move serial_rs485 struct sanitization into serial core,
each driver has to provide what fields/flags it supports. This
information is pointed into by rs485_supported.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220606100433.13793-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
include/linux/serial_core.h