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/mv | |
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/mv')
-rw-r--r-- | sys/arm/mv/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/mv/gpio.c b/sys/arm/mv/gpio.c index 1bdb81b..862ddd6 100644 --- a/sys/arm/mv/gpio.c +++ b/sys/arm/mv/gpio.c @@ -641,7 +641,7 @@ platform_gpio_init(void) * contain a ref. to a node defining GPIO * controller. */ - ctrl = OF_xref_phandle(fdt32_to_cpu(gpios[0])); + ctrl = OF_node_from_xref(fdt32_to_cpu(gpios[0])); if (fdt_is_compatible(ctrl, e->compat)) /* Call a handler. */ |