aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/usage-model.txt
diff options
context:
space:
mode:
authorChaiken, Alison <Alison_Chaiken@mentor.com>2012-11-15 18:32:51 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-11-21 10:53:23 -0500
commit155dd0c2f7c24c1531a90229f1c749cebf3f21f7 (patch)
treeaa4a7b4b9139ade10c9adbb9f129afccb4c00a5c /Documentation/devicetree/usage-model.txt
parent4f3be1cfa8422c93271dcdb59f223f6c84c70804 (diff)
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 <alison_chaiken@mentor.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree/usage-model.txt')
-rw-r--r--Documentation/devicetree/usage-model.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-model.txt
index dca90fe22a90..ef9d06c9f8fd 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
347tree. Therefore, if a DT node is at the root of the tree, then it 347tree. Therefore, if a DT node is at the root of the tree, then it
348really probably is best registered as a platform_device. 348really probably is best registered as a platform_device.
349 349
350Linux board support code calls of_platform_populate(NULL, NULL, NULL) 350Linux board support code calls of_platform_populate(NULL, NULL, NULL, NULL)
351to kick off discovery of devices at the root of the tree. The 351to kick off discovery of devices at the root of the tree. The
352parameters are all NULL because when starting from the root of the 352parameters are all NULL because when starting from the root of the
353tree, there is no need to provide a starting node (the first NULL), a 353tree, there is no need to provide a starting node (the first NULL), a