diff options
author | ian <ian@FreeBSD.org> | 2014-10-26 01:30:46 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-10-26 01:30:46 +0000 |
commit | 1c8cde378e7386ca86f33d4ce67b360782b6abec (patch) | |
tree | f847b5f519d4b7fc00e295ee9cb3686f2cec6de9 /sys/arm/freescale | |
parent | 520f9702ad1e3b22f76421e717bd01dd5c266bde (diff) | |
download | FreeBSD-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/arm/freescale')
-rw-r--r-- | sys/arm/freescale/vybrid/vf_sai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/freescale/vybrid/vf_sai.c b/sys/arm/freescale/vybrid/vf_sai.c index 018b4f6..586055d 100644 --- a/sys/arm/freescale/vybrid/vf_sai.c +++ b/sys/arm/freescale/vybrid/vf_sai.c @@ -430,7 +430,7 @@ find_edma_controller(struct sc_info *sc) OF_getprop(node, "edma-mux-group", &dts_value, len); edma_mux_group = fdt32_to_cpu(dts_value); OF_getprop(node, "edma-controller", &dts_value, len); - edma_node = OF_xref_phandle(fdt32_to_cpu(dts_value)); + edma_node = OF_node_from_xref(fdt32_to_cpu(dts_value)); if ((len = OF_getproplen(edma_node, "device-id")) <= 0) { return (ENXIO); |