From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH 3/9] of: protect linux/of.h with CONFIG_OF Date: Sun, 14 Feb 2010 07:06:28 -0700 Message-ID: References: <20100213154838.4767.83881.stgit@angua> <20100213160242.4767.57641.stgit@angua> <1266127834.16346.60.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <1266127834.16346.60.camel@pasglop> Sender: sparclinux-owner@vger.kernel.org To: Benjamin Herrenschmidt Cc: monstr@monstr.eu, sfr@canb.auug.org.au, jeremy.kerr@canonical.com, davem@davemloft.net, microblaze-uclinux@itee.uq.edu.au, linuxppc-dev@ozlabs.org, sparclinux@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Sat, Feb 13, 2010 at 11:10 PM, Benjamin Herrenschmidt wrote: > On Sat, 2010-02-13 at 09:02 -0700, Grant Likely wrote: >> From: Jeremy Kerr >> >> For platforms that have CONFIG_OF optional, we need to make the contents >> of linux/of.h conditional on CONFIG_OF. >> >> Signed-off-by: Jeremy Kerr >> Signed-off-by: Grant Likely > > Acked-by: Benjamin Herrenschmidt > > For now... > > In the long run, maybe we want some of the iterators to be empty inlines > returning NULL ? Yes. I'll add them as they are needed. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.