summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-10-21 06:31:48 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-11-03 02:20:26 +0300
commit63473ee8c5c570b38b757ba7bb8e25585d7917d8 (patch)
tree78e304ad2af45f806e2f3b4ed00498a577a44fe4 /doc
parentc53b318e1bad2e0d5c2b846fadfc79ec77bfc5f7 (diff)
downloadu-boot-63473ee8c5c570b38b757ba7bb8e25585d7917d8.tar.xz
dm: doc: Correct of-platdata driver name
Add a note about the driver name in the of-platdata documentation since the naming must follow the compatible string. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/driver-model/of-plat.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/driver-model/of-plat.rst b/doc/driver-model/of-plat.rst
index a38e58e4d2..557957d2a1 100644
--- a/doc/driver-model/of-plat.rst
+++ b/doc/driver-model/of-plat.rst
@@ -269,7 +269,7 @@ For example:
};
U_BOOT_DRIVER(mmc_drv) = {
- .name = "mmc",
+ .name = "vendor_mmc", /* matches compatible string */
.id = UCLASS_MMC,
.of_match = mmc_ids,
.ofdata_to_platdata = mmc_ofdata_to_platdata,