[U-Boot] [PATCH v2] pmic: palmas: Accommodate fdt_for_each_subnode signature change

Keerthy j-keerthy at ti.com
Thu Oct 13 17:02:55 CEST 2016


Accommodate fdt_for_each_subnode signature change.

Signed-off-by: Keerthy <j-keerthy at ti.com>
Acked-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:

* Corrected  subject.
* Added Simon's Ack.

 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