From: Chaiken, Alison Date: Thu, 15 Nov 2012 23:32:51 +0000 (+0000) Subject: Documentation: correct of_platform_populate() argument list X-Git-Tag: v3.8-rc1~183^2~12^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=155dd0c2f7c24c1531a90229f1c749cebf3f21f7;p=~emulex%2Finfiniband.git Documentation: correct of_platform_populate() argument list The documentation doesn't match the actual function prototype. This is a trivial patch to fix it. Signed-off-by: Alison Chaiken Acked-by: Arnd Bergmann Signed-off-by: Grant Likely --- diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-model.txt index dca90fe22a9..ef9d06c9f8f 100644 --- a/Documentation/devicetree/usage-model.txt +++ b/Documentation/devicetree/usage-model.txt @@ -347,7 +347,7 @@ later), which will happily live at the base of the Linux /sys/devices tree. Therefore, if a DT node is at the root of the tree, then it really probably is best registered as a platform_device. -Linux board support code calls of_platform_populate(NULL, NULL, NULL) +Linux board support code calls of_platform_populate(NULL, NULL, NULL, NULL) to kick off discovery of devices at the root of the tree. The parameters are all NULL because when starting from the root of the tree, there is no need to provide a starting node (the first NULL), a