]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation: correct of_platform_populate() argument list
authorChaiken, Alison <Alison_Chaiken@mentor.com>
Thu, 15 Nov 2012 23:32:51 +0000 (23:32 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 21 Nov 2012 15:53:23 +0000 (15:53 +0000)
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>
Documentation/devicetree/usage-model.txt

index dca90fe22a90c5d61c3cc0251326917a143e8929..ef9d06c9f8fde9341c3dc1926f83524fb7a47396 100644 (file)
@@ -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