linux/arch/powerpc/platforms/ps3
Grant Likely d706c1b050 driver-core: Add device node pointer to struct device
Currently, platforms using CONFIG_OF add a 'struct device_node *of_node'
to dev->archdata.  However, with CONFIG_OF becoming generic for all
architectures, it makes sense for commonality to move it out of archdata
and into struct device proper.

This patch adds a struct device_node *of_node member to struct device
and updates all locations which currently write the device_node pointer
into archdata to also update dev->of_node.  Subsequent patches will
modify callers to use the archdata location and ultimately remove
the archdata member entirely.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
CC: Michal Simek <monstr@monstr.eu>
CC: Greg Kroah-Hartman <gregkh@suse.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: "David S. Miller" <davem@davemloft.net>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
CC: Jeremy Kerr <jeremy.kerr@canonical.com>
CC: microblaze-uclinux@itee.uq.edu.au
CC: linux-kernel@vger.kernel.org
CC: linuxppc-dev@ozlabs.org
CC: sparclinux@vger.kernel.org
2010-04-28 18:20:57 -06:00
..
device-init.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
exports.c [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
htab.c powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc 2009-01-16 16:15:13 +11:00
hvcall.S [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
interrupt.c powerpc: Fixup last users of irq_chip->typename 2009-11-24 14:32:45 +11:00
Kconfig Merge commit 'origin/master' into next 2009-03-24 13:38:30 +11:00
Makefile [POWERPC] PS3: Device registration routines. 2007-06-28 19:16:43 +10:00
mm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
os-area.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
platform.h powerpc/cell: Extract duplicated IOPTE_* to <asm/iommu.h> 2009-06-15 13:26:19 +10:00
repository.c powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc 2009-01-16 16:15:13 +11:00
setup.c ps3fb/vram: Extract common GPU stuff into <asm/ps3gpu.h> 2009-06-15 13:26:20 +10:00
smp.c percpu: cleanup percpu array definitions 2009-06-24 15:13:45 +09:00
spu.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
system-bus.c driver-core: Add device node pointer to struct device 2010-04-28 18:20:57 -06:00
time.c powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration 2009-08-27 13:25:46 +10:00