Re: [PATCH v2] OF: move extern declarations of of_stdout inside ifdef

From: Rob Herring
Date: Fri Aug 25 2017 - 14:07:58 EST


On Fri, Aug 25, 2017 at 11:56 AM, Eugeniy Paltsev
<Eugeniy.Paltsev@xxxxxxxxxxxx> wrote:
> Move extern declarations of "of_stdout" pointer inside "CONFIG_OF"
> ifdef to be able to get rid of "CONFIG_OF" ifdef in its usage places.
>
> Suggested-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>
> ---
> For example see: https://lkml.org/lkml/2017/8/25/337
>
> Changes v1->v2:
> * Move only "of_stdout" declarations instead of all entry pointers
> declarations
>
> include/linux/of.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh@xxxxxxxxxx>

Merge this with the console change needing it.

Rob