]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit3f3b1632022fcc8317fa3b3c1236471415b3a6b8
tree9b076af092207b0a6a1d1b7f6524ceb6deff3db3
parenta0e2f9f4a2487572803d5a00c7302db30e4c60d3
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