Hi Grant,

On Mon, 22 Feb 2010 08:50:59 -0700 Grant Likely <[email protected]> 
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                    [email protected]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpRYj7BCVfhE.pgp
Description: PGP signature

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to