summaryrefslogtreecommitdiff
path: root/include/reset-uclass.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-18 20:09:50 -0600
committerSimon Glass <sjg@chromium.org>2017-06-01 07:03:15 -0600
commit40a475e8415a0fa3838e9d192507775d1d7fe754 (patch)
tree9e68801d4a0bc1dc4bd9104685834586bd9c72eb /include/reset-uclass.h
parent424b2fe9399e045b17baf6d0ffc167af68af10f3 (diff)
downloadu-boot-40a475e8415a0fa3838e9d192507775d1d7fe754.tar.gz
dm: reset: Update uclass to support livetree
Update the reset domain uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/reset-uclass.h')
-rw-r--r--include/reset-uclass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/reset-uclass.h b/include/reset-uclass.h
index 38c716ff89..50fbeb10d6 100644
--- a/include/reset-uclass.h
+++ b/include/reset-uclass.h
@@ -11,7 +11,7 @@
#include <reset.h>
-struct fdtdec_phandle_args;
+struct ofnode_phandle_args;
struct udevice;
/**
@@ -38,7 +38,7 @@ struct reset_ops {
* @return 0 if OK, or a negative error code.
*/
int (*of_xlate)(struct reset_ctl *reset_ctl,
- struct fdtdec_phandle_args *args);
+ struct ofnode_phandle_args *args);
/**
* request - Request a translated reset control.
*