Skip to content

Commit

Permalink
Documentation: rs485: Link reference properly
Browse files Browse the repository at this point in the history
Link DT bindings reference properly.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20221019093343.9546-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Ilpo Järvinen authored and Greg Kroah-Hartman committed Nov 3, 2022
1 parent 6dd0778 commit 851453a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/driver-api/serial/serial-rs485.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ RS485 Serial Communications
communications. This data structure is used to set and configure RS485
parameters in the platform data and in ioctls.

The device tree can also provide RS485 boot time parameters (see [1]
for bindings). The driver is in charge of filling this data structure from
the values given by the device tree.
The device tree can also provide RS485 boot time parameters
[#DT-bindings]_. The driver is in charge of filling this data structure
from the values given by the device tree.

Any driver for devices capable of working both as RS232 and RS485 should
implement the rs485_config callback and provide rs485_supported in the
Expand Down Expand Up @@ -129,4 +129,4 @@ RS485 Serial Communications
6. References
=============

[1] Documentation/devicetree/bindings/serial/rs485.txt
.. [#DT-bindings] Documentation/devicetree/bindings/serial/rs485.txt

0 comments on commit 851453a

Please sign in to comment.