Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758008AbdHYSHy (ORCPT ); Fri, 25 Aug 2017 14:07:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:49848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754967AbdHYSHw (ORCPT ); Fri, 25 Aug 2017 14:07:52 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3567421A30 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org MIME-Version: 1.0 In-Reply-To: <20170825165644.30800-1-Eugeniy.Paltsev@synopsys.com> References: <20170825165644.30800-1-Eugeniy.Paltsev@synopsys.com> From: Rob Herring Date: Fri, 25 Aug 2017 13:07:30 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] OF: move extern declarations of of_stdout inside ifdef To: Eugeniy Paltsev Cc: "devicetree@vger.kernel.org" , arcml , "linux-kernel@vger.kernel.org" , Frank Rowand , Steven Rostedt Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 696 Lines: 23 On Fri, Aug 25, 2017 at 11:56 AM, Eugeniy Paltsev 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 > > Signed-off-by: Eugeniy Paltsev > --- > 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 Merge this with the console change needing it. Rob