summaryrefslogtreecommitdiffstats
path: root/include/linux/tty_ldisc.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2018-06-04 23:33:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 21:07:55 +0900
commit9d9398944488cd3a3e1e0912b26fbc4d5921e547 (patch)
treedf7b6ab14b49156a693115c85eb7c5879cd98234 /include/linux/tty_ldisc.h
parentc3bf40ce2c2029b4e11bfcfa404dda4472d93429 (diff)
downloadtalos-op-linux-9d9398944488cd3a3e1e0912b26fbc4d5921e547.tar.gz
talos-op-linux-9d9398944488cd3a3e1e0912b26fbc4d5921e547.zip
tty: serial: exar: generalize RS485 setup
Move the non-board-specific part of the RS485 initialization from iot2040_rs485_config function to a new generic function used also for other boards. This allows using TIOCGRS485 and TIOCSRS485 on boards (such as mPCIe serial IO modules) which are hard-wired to RS485 or have jumpers for their configurations. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_ldisc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud