summaryrefslogtreecommitdiffstats
path: root/sys/mips/beri
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-10-26 01:30:46 +0000
committerian <ian@FreeBSD.org>2014-10-26 01:30:46 +0000
commit1c8cde378e7386ca86f33d4ce67b360782b6abec (patch)
treef847b5f519d4b7fc00e295ee9cb3686f2cec6de9 /sys/mips/beri
parent520f9702ad1e3b22f76421e717bd01dd5c266bde (diff)
downloadFreeBSD-src-1c8cde378e7386ca86f33d4ce67b360782b6abec.zip
FreeBSD-src-1c8cde378e7386ca86f33d4ce67b360782b6abec.tar.gz
MFC r270945:
Rename OF_xref_phandle() to OF_node_from_xref() and add a new function that provides the inverse translation, OF_xref_from_node().
Diffstat (limited to 'sys/mips/beri')
-rw-r--r--sys/mips/beri/beri_simplebus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/beri/beri_simplebus.c b/sys/mips/beri/beri_simplebus.c
index 934a395..ad1bde4 100644
--- a/sys/mips/beri/beri_simplebus.c
+++ b/sys/mips/beri/beri_simplebus.c
@@ -350,7 +350,7 @@ simplebus_get_interrupt_parent(device_t dev)
if (OF_getencprop(di->di_ofw.obd_node, "interrupt-parent", &iph,
sizeof(iph)) > 0) {
- ph = OF_xref_phandle(iph);
+ ph = OF_node_from_xref(iph);
SLIST_FOREACH(ic, &fdt_ic_list_head, fdt_ics) {
if (ic->iph == ph) {
ip = ic->dev;
OpenPOWER on IntegriCloud