Re: [PATCH] drivers: of: add definition of early_init_dt_alloc_reserved_memory_arch

From: Rob Herring
Date: Thu Jun 09 2016 - 18:24:39 EST


On Thu, Jun 9, 2016 at 5:38 AM, Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> wrote:
> The function early_init_dt_alloc_reserved_memory_arch is defined
> in drivers/of/of_reserved_mem.c but is not declared in any of the
> header files. Add the declaration of this to avoid the warning:
>
> drivers/of/of_reserved_mem.c:31:19: warning: symbol 'early_init_dt_alloc_reserved_memory_arch' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>

Dropped the extern and applied. Thanks.

Rob