[PATCH] of: export of_platform_populate()

Rob Herring robherring2 at gmail.com
Tue Jun 12 00:26:56 EST 2012


On 06/07/2012 06:57 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> Without this, modules can't use this API, leading to build failures.
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---

Applied for 3.5.

Rob

> This is useful in 3.5.
> 
>  drivers/of/platform.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/of/platform.c b/drivers/of/platform.c
> index 343ad29..3132ea0 100644
> --- a/drivers/of/platform.c
> +++ b/drivers/of/platform.c
> @@ -462,4 +462,5 @@ int of_platform_populate(struct device_node *root,
>  	of_node_put(root);
>  	return rc;
>  }
> +EXPORT_SYMBOL_GPL(of_platform_populate);
>  #endif /* CONFIG_OF_ADDRESS */


More information about the devicetree-discuss mailing list