summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-18 20:09:32 -0600
committerSimon Glass <sjg@chromium.org>2017-06-01 07:03:12 -0600
commit7a869e6cd15e012c7b5cde9b8bd5ea7691546a08 (patch)
tree0bbf1a2d95e7468f2de900cd4ebd15a033790d30 /include/power
parentf6e76202d4f11c8e38e2cec6111a8e2f99e83fcc (diff)
downloadu-boot-7a869e6cd15e012c7b5cde9b8bd5ea7691546a08.tar.gz
dm: pmic: Convert uclass to livetree
Update the pmic uclass and all pmics to support a live device tree. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/power')
-rw-r--r--include/power/pmic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/power/pmic.h b/include/power/pmic.h
index e0b2e129dd..4b34316427 100644
--- a/include/power/pmic.h
+++ b/include/power/pmic.h
@@ -226,7 +226,7 @@ struct pmic_child_info {
* buck2 { ... };
* };
*/
-int pmic_bind_children(struct udevice *pmic, int offset,
+int pmic_bind_children(struct udevice *pmic, ofnode parent,
const struct pmic_child_info *child_info);
/**