Re: [PATCH 1/2] powerpc and sparc: Introduce dev_archdata node accessors

2008-11-30 Thread Michael Ellerman
On Fri, 2008-11-28 at 22:13 +0300, Anton Vorontsov wrote: > The name of the device_node field differ across the platforms, so we > have to implement inlined accessors. This is needed to avoid ugly > #ifdef in the generic code. My grep skills may not be 1337 enough, but I only see maybe three uses

[PATCH 1/2] powerpc and sparc: Introduce dev_archdata node accessors

2008-11-28 Thread Anton Vorontsov
The name of the device_node field differ across the platforms, so we have to implement inlined accessors. This is needed to avoid ugly #ifdef in the generic code. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> Acked-by: Grant Likely <[EMAIL PROTECT