From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yx0-f176.google.com (mail-yx0-f176.google.com [209.85.210.176]) by ozlabs.org (Postfix) with ESMTP id 7B6FEB7CF2 for ; Mon, 15 Feb 2010 01:06:49 +1100 (EST) Received: by yxe6 with SMTP id 6so4060012yxe.11 for ; Sun, 14 Feb 2010 06:06:48 -0800 (PST) MIME-Version: 1.0 Sender: glikely@secretlab.ca In-Reply-To: <1266127834.16346.60.camel@pasglop> References: <20100213154838.4767.83881.stgit@angua> <20100213160242.4767.57641.stgit@angua> <1266127834.16346.60.camel@pasglop> From: Grant Likely Date: Sun, 14 Feb 2010 07:06:28 -0700 Message-ID: Subject: Re: [PATCH 3/9] of: protect linux/of.h with CONFIG_OF To: Benjamin Herrenschmidt Content-Type: text/plain; charset=ISO-8859-1 Cc: sfr@canb.auug.org.au, monstr@monstr.eu, microblaze-uclinux@itee.uq.edu.au, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, sparclinux@vger.kernel.org, jeremy.kerr@canonical.com, davem@davemloft.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.