Messages in this thread | | | Date | Tue, 23 Feb 2010 09:51:18 +1100 | From | Stephen Rothwell <> | 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@secretlab.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@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |