From: Simon Glass Date: Mon, 21 Oct 2019 03:31:48 +0000 (-0600) Subject: dm: doc: Correct of-platdata driver name X-Git-Tag: v2020.01-rc2~21^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63473ee8c5c570b38b757ba7bb8e25585d7917d8;p=oweals%2Fu-boot.git 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 Reviewed-by: Bin Meng --- 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,