mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
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>
This commit is contained in:
parent
4f3be1cfa8
commit
155dd0c2f7
@ -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
|
tree. Therefore, if a DT node is at the root of the tree, then it
|
||||||
really probably is best registered as a platform_device.
|
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
|
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
|
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
|
tree, there is no need to provide a starting node (the first NULL), a
|
||||||
|
Loading…
Reference in New Issue
Block a user