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

Rob Herring robh+dt at kernel.org
Fri Aug 25 11:07:30 PDT 2017


On Fri, Aug 25, 2017 at 11:56 AM, Eugeniy Paltsev
<Eugeniy.Paltsev at synopsys.com> 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 at goodmis.org>
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> ---
> 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 at kernel.org>

Merge this with the console change needing it.

Rob



More information about the linux-snps-arc mailing list