linux_dsm_epyc7002/arch/microblaze/kernel
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
..
cpu 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
asm-offsets.c microblaze: Add support from PREEMPT 2010-03-11 14:07:32 +01:00
dma.c Merge branch 'master' into export-slabh 2010-04-05 11:37:28 +09:00
early_printk.c microblaze_mmu_v2: Alocate TLB for early console 2009-05-26 16:45:14 +02:00
entry-nommu.S microblaze: fix interrupt state restore 2010-02-03 13:17:44 +01:00
entry.S microblaze: entry.S use delay slot for return handlers 2010-03-11 14:26:13 +01:00
exceptions.c microblaze: Generate correct signal and siginfo for integer div-by-zero 2009-09-22 10:00:44 +02:00
ftrace.c microblaze: Fix ftrace_update_ftrace_func panic 2010-04-07 07:27:25 +02:00
head.S microblaze: head.S typo fix 2010-04-01 08:38:24 +02:00
heartbeat.c microblaze: Fix the heartbeat gpio to be more robust 2009-12-14 08:45:03 +01:00
hw_exception_handler.S microblaze: Use instruction with delay slot 2010-04-01 08:38:23 +02:00
init_task.c Use new __init_task_data macro in arch init_task.c files. 2009-09-21 06:27:08 +02:00
intc.c microblaze: Fix level interrupt ACKing 2009-12-14 08:45:06 +01:00
irq.c microblaze: Add irq_create_{of_,}mapping functions 2010-03-11 13:59:28 +01:00
Makefile microblaze: Support DMA 2010-03-11 13:56:29 +01:00
mcount.S microblaze: ftrace: Add dynamic function graph tracer 2009-12-14 08:44:54 +01:00
microblaze_ksyms.c microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +01:00
misc.S microblaze: Use MICROBLAZE_TLB_SIZE in asm code 2010-04-01 08:38:24 +02:00
module.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
of_device.c driver-core: Add device node pointer to struct device 2010-04-28 18:20:57 -06:00
of_platform.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
process.c microblaze: Adding likely macros 2010-04-01 08:38:24 +02:00
prom_parse.c microblaze: pci_controller->arch_data really is a struct device_node * 2010-01-18 16:36:07 +01:00
prom.c of: move definition of of_chosen into common code. 2010-02-14 07:13:55 -07:00
ptrace.c microblaze: Remove unused variable from ptrace 2010-04-07 15:47:55 +02:00
reset.c microblaze: Support both levels for reset 2009-12-14 08:44:56 +01:00
selfmod.c microblaze_v8: Selfmodified code 2009-03-27 14:25:15 +01:00
setup.c microblaze: Print early printk information to log buffer 2010-04-01 08:38:25 +02:00
signal.c microblaze: Remove rt_sigsuspend wrapper 2009-12-14 08:45:12 +01:00
stacktrace.c microblaze: Stack trace support 2009-12-14 08:40:09 +01:00
sys_microblaze.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
syscall_table.S microblaze: Enable accept4 syscall 2010-01-18 16:35:27 +01:00
timer.c microblaze: Register timecounter/cyclecounter 2009-12-14 08:40:09 +01:00
traps.c microblaze: Fix "kstack=" parsing 2010-04-01 08:38:18 +02:00
vmlinux.lds.S microblaze: Add IRQENTRY_TEXT to lds 2009-12-14 08:40:09 +01:00