[U-Boot] [PATCH] pmic: palmas: Accommodate fdt_subnode_offset signature change
Keerthy
j-keerthy at ti.com
Thu Oct 13 13:57:42 CEST 2016
Accommodate fdt_subnode_offset signature change.
Signed-off-by: Keerthy <j-keerthy at ti.com>
---
drivers/power/pmic/palmas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/pmic/palmas.c b/drivers/power/pmic/palmas.c
index 6c79a93..0ab425e 100644
--- a/drivers/power/pmic/palmas.c
+++ b/drivers/power/pmic/palmas.c
@@ -52,7 +52,7 @@ static int palmas_bind(struct udevice *dev)
int node = dev->of_offset;
int subnode, len;
- fdt_for_each_subnode(blob, subnode, node) {
+ fdt_for_each_subnode(subnode, blob, node) {
const char *name;
char *temp;
--
1.9.1
More information about the U-Boot
mailing list