Commit 119264a
committed
serial: 8250: Mark txvr_ops as a deprecated interface
We added an interface in 8e9e459 ("8250: Allow client drivers to
control tranceivers") for RS-485 transceiver control, but this never
went upstream and is also not a requirement for a client driver to
implement RS-485 transceiver control.
However, this out-of-tree interface got exposed to the NI-Serial drivers,
and they were using it for their driver for the NI 987x devices, so we
can't (yet) drop it outright.
Mark this interface as deprecated and emit a warning when registering a
client driver that intends to use it.
Upstream-Status: Inappropriate [NI-specific]
Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Acked-by: Gratian Crisan <gratian.crisan@ni.com>
Acked-by: Jason Smith <jason.smith@ni.com>1 parent d8cffba commit 119264a
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1078 | 1081 | | |
| 1082 | + | |
1079 | 1083 | | |
1080 | 1084 | | |
1081 | 1085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | | - | |
| 570 | + | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| |||
0 commit comments