drivers: of: add definition of early_init_dt_alloc_reserved_memory_arch
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 9 Jun 2016 10:38:34 +0000 (11:38 +0100)
committerRob Herring <robh@kernel.org>
Thu, 9 Jun 2016 19:38:22 +0000 (14:38 -0500)
commit06dfeef88573cf032e5c27e37f80ff5237b3318a
treecc5d0213fc72dee73836f32412da0ac8c9208e3f
parent8c237cd0ccb570d13158758af02e11359a4a5b1c
drivers: of: add definition of early_init_dt_alloc_reserved_memory_arch

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@codethink.co.uk>
[robh: drop extern from declaration]
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of_reserved_mem.h