Skip to contentSkip to conversation

of: add missing documentation for of_platform_populate()

PATCH Applied Javi Merino 2 participants 2 messages Nov 23, 2012 – Jan 9, 2013 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Jiri Kosina <[email protected]>
---
 drivers/of/platform.c |    1 +
 1 file changed, 1 insertion(+)
drivers/of/platform.c +1 -0
index b80891b..e0a6514 100644
@@ -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
Signature · 1 line
1.7.9.5
Applied
#1 lore raw
Quoted 16 lines · Javi Merino

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 <[email protected]>
Cc Jiri Kosina <[email protected]>
---
 drivers/of/platform.c |    1 +
 1 file changed, 1 insertion(+)
drivers/of/platform.c +0 -0
index b80891b..e0a6514 100644

drivers/of/platform.c EXPORT_SYMBOL(of_platform_bus_probe); · line 442

Quoted 7 lines
drivers/of/platform.c +1 -0
@@ -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

Applied.

Signature · 2 lines
Jiri Kosina
SUSE Labs