summaryrefslogtreecommitdiff
path: root/doc/driver-model/usb-info.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/driver-model/usb-info.rst')
-rw-r--r--doc/driver-model/usb-info.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/driver-model/usb-info.rst b/doc/driver-model/usb-info.rst
index ec8f3170a9..e9fe9d2904 100644
--- a/doc/driver-model/usb-info.rst
+++ b/doc/driver-model/usb-info.rst
@@ -39,7 +39,7 @@ as drivers in the USB uclass. For example:
.name = "ehci_tegra",
.id = UCLASS_USB,
.of_match = ehci_usb_ids,
- .ofdata_to_platdata = ehci_usb_ofdata_to_platdata,
+ .of_to_plat = ehci_usb_of_to_plat,
.probe = tegra_ehci_usb_probe,
.remove = tegra_ehci_usb_remove,
.ops = &ehci_usb_ops,
@@ -51,7 +51,7 @@ as drivers in the USB uclass. For example:
Here ehci_usb_ids is used to list the controllers that the driver supports.
Each has its own data value. Controllers must be in the UCLASS_USB uclass.
-The ofdata_to_platdata() method allows the controller driver to grab any
+The of_to_plat() method allows the controller driver to grab any
necessary settings from the device tree.
The ops here are ehci_usb_ops. All EHCI drivers will use these same ops in