mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
6016a363f6
In struct device_node, the phandle is named 'linux_phandle' for PowerPC and MicroBlaze, and 'node' for SPARC. There is no good reason for the difference, it is just an artifact of the code diverging over a couple of years. This patch renames both to simply .phandle. Note: the .node also existed in PowerPC/MicroBlaze, but the only user seems to be arch/powerpc/platforms/powermac/pfunc_core.c. It doesn't look like the assignment between .linux_phandle and .node is significantly different enough to warrant the separate code paths unless ibm,phandle properties actually appear in Apple device trees. I think it is safe to eliminate the old .node property and use phandle everywhere. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net> Tested-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
cpu | ||
asm-offsets.c | ||
early_printk.c | ||
entry-nommu.S | ||
entry.S | ||
exceptions.c | ||
head.S | ||
heartbeat.c | ||
hw_exception_handler.S | ||
init_task.c | ||
intc.c | ||
irq.c | ||
Makefile | ||
microblaze_ksyms.c | ||
misc.S | ||
module.c | ||
of_device.c | ||
of_platform.c | ||
process.c | ||
prom_parse.c | ||
prom.c | ||
ptrace.c | ||
selfmod.c | ||
setup.c | ||
signal.c | ||
sys_microblaze.c | ||
syscall_table.S | ||
timer.c | ||
traps.c | ||
vmlinux.lds.S |