Re: [PATCH 1/7] powerpc and sparc: introduce dev_archdata node accessors

2008-10-16 Thread Grant Likely
On Thu, Oct 16, 2008 at 4:36 PM, David Miller <[EMAIL PROTECTED]> wrote: > From: Anton Vorontsov <[EMAIL PROTECTED]> > Date: Thu, 16 Oct 2008 21:12:51 +0400 > >> The name of the device_node field differ across the platforms, so we >> have to implement inlined accessors. This is needed to avoid ugly

Re: [PATCH 1/7] powerpc and sparc: introduce dev_archdata node accessors

2008-10-16 Thread David Miller
From: Anton Vorontsov <[EMAIL PROTECTED]> Date: Thu, 16 Oct 2008 21:12:51 +0400 > 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 PROTE

[PATCH 1/7] powerpc and sparc: introduce dev_archdata node accessors

2008-10-16 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]> --- arch/powerpc/include/asm/device.h | 12 arch/sparc/include/asm/d