Commit 7be5e675 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rob Herring

of: address: Document return value of of_address_to_resource()

Add the missing return value documentation to the linuxdoc comment block
for the of_address_to_resource() function.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/61ffcb5e87511dfa21af169efd04806101c48b8a.1680248888.git.geert+renesas@glider.beSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent dc8ea920
......@@ -879,6 +879,8 @@ static int __of_address_to_resource(struct device_node *dev, int index, int bar_
* @index: Index into the array
* @r: Pointer to resource array
*
* Returns -EINVAL if the range cannot be converted to resource.
*
* Note that if your address is a PIO address, the conversion will fail if
* the physical address can't be internally converted to an IO token with
* pci_address_to_pio(), that is because it's either called too early or it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment