Skip to content

Commit

Permalink
Documentation: correct of_platform_populate() argument list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chaiken, Alison authored and Grant Likely committed Nov 21, 2012
1 parent 4f3be1c commit 155dd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devicetree/usage-model.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 155dd0c

Please sign in to comment.