[PATCH] Documentation: correct argument list for of_platform_populate correction to match of_platform.h prototype

Chaiken, Alison Alison_Chaiken at mentor.com
Thu Nov 15 18:32:51 EST 2012


>From fd4450ac6bdcf62a84b0d029b36506e7fd567688 Mon Sep 17 00:00:00 2001
From: Alison Chaiken <alchaiken at gmail.com>
Date: Thu, 1 Nov 2012 01:12:38 -0700
Subject: [PATCH] Argument list for of_platform_populate correction to match of_platform.h prototype
 
Signed-off-by: Alison Chaiken <alison_chaiken at mentor.com>
---
 Documentation/devicetree/usage-model.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 
diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-model.txt
index c5a8009..daa56a2 100644
--- a/Documentation/devicetree/usage-model.txt
+++ b/Documentation/devicetree/usage-model.txt
@@ -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
-- 
 1.7.1
 



More information about the linux-arm-kernel mailing list