projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c53b318
)
dm: doc: Correct of-platdata driver name
author
Simon Glass
<sjg@chromium.org>
Mon, 21 Oct 2019 03:31:48 +0000
(21:31 -0600)
committer
Bin Meng
<bmeng.cn@gmail.com>
Sat, 2 Nov 2019 23:20:26 +0000
(07:20 +0800)
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>
doc/driver-model/of-plat.rst
patch
|
blob
|
history
diff --git
a/doc/driver-model/of-plat.rst
b/doc/driver-model/of-plat.rst
index a38e58e4d294ad0d3f275c5557408d2dcdb39bff..557957d2a166903110ca32c36b7b80d1cb112773 100644
(file)
--- 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,