[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100223095118.bed93bac.sfr@canb.auug.org.au>
Date: Tue, 23 Feb 2010 09:51:18 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: devicetree-discuss@...ts.ozlabs.org, monstr@...str.eu,
linux-kernel@...r.kernel.org, jeremy.kerr@...onical.com
Subject: Re: [PATCH 2/2] of/flattree: Make unflatten_device_tree() safe to
call from any arch
Hi Grant,
On Mon, 22 Feb 2010 08:50:59 -0700 Grant Likely <grant.likely@...retlab.ca> wrote:
>
> - If CONFIG_OF_FLATTREE is not set, then make unflatten_device_tree()
> an empty #define.
Any reason not to make this a static inline?
> +#define unflatten_device_tree() do {} while(0)
static inline void unflatten_device_tree(void) {}
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists