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

Sergei Shtylyov sshtylyov at mvista.com
Fri Nov 16 07:34:05 EST 2012


Hello.

On 16-11-2012 3:32, Chaiken, Alison wrote:

>  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

    The above header is not needed.

> 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

    Looks like the patch is whitespace spoiled, i.e. a space is added to each 
line starting with a space.

WBR, Sergei




More information about the linux-arm-kernel mailing list