summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2012-11-23 16:25:08 +0000
committerJiri Kosina <jkosina@suse.cz>2013-01-09 11:49:52 +0100
commit92039ed129b8140be519a9fde561aeba733aecbe (patch)
tree5b00e8f16a102eac839f0fd4024951f3b4ebf271
parent210b907acfb414650dcdae9b470eb2fccac7996b (diff)
downloadlinux-stable-92039ed129b8140be519a9fde561aeba733aecbe.tar.gz
linux-stable-92039ed129b8140be519a9fde561aeba733aecbe.tar.bz2
linux-stable-92039ed129b8140be519a9fde561aeba733aecbe.zip
of: add missing documentation for of_platform_populate()
15c3597d (dt/platform: allow device name to be overridden) added a lookup parameter to of_platform_populate() but did not update the documentation. This patch adds the missing documentation entry. Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Jiri Kosina <trivial@kernel.org> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/of/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index b80891b43816..e0a6514ab46c 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -436,6 +436,7 @@ EXPORT_SYMBOL(of_platform_bus_probe);
* of_platform_populate() - Populate platform_devices from device tree data
* @root: parent of the first level to probe or NULL for the root of the tree
* @matches: match table, NULL to use the default
+ * @lookup: auxdata table for matching id and platform_data with device nodes
* @parent: parent to hook devices from, NULL for toplevel
*
* Similar to of_platform_bus_probe(), this function walks the device tree