]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc and sparc: Introduce dev_archdata node accessors
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 28 Nov 2008 09:13:23 +0000 (09:13 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Dec 2008 10:03:54 +0000 (21:03 +1100)
commit91743476d6b5436f646ecddbba7fbc21269ad0c8
tree9b076af092207b0a6a1d1b7f6524ceb6deff3db3
parente8fe078fa2ad81c02d197b2cdfbb3e91d59288db
powerpc and sparc: Introduce dev_archdata node accessors

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 <avorontsov@ru.mvista.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/device.h
arch/sparc/include/asm/device.h