Re: [PATCH v3] of: Create asm-generic/of.h and provide defaultof_node_to_nid()

From: David Miller
Date: Mon Jul 26 2010 - 18:48:43 EST

From: Grant Likely <grant.likely@xxxxxxxxxxxx>
Date: Mon, 26 Jul 2010 16:42:20 -0600

> It protects against some later include file doing a #define
> of_node_to_nid and thus resulting in an inconsistent definition. If
> some code tries to do this then the preprocessor will complain. This
> is the pattern that Stephen suggested.

Also, it would be nice to unravel the "0" vs. "-1" default
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at