]> git.sur5r.net Git - u-boot/commitdiff
mx53loco: Fix PMIC name
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 11 Dec 2012 06:36:58 +0000 (06:36 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Dec 2012 08:22:55 +0000 (09:22 +0100)
commit c73368150 (pmic: Extend PMIC framework to support multiple instances
of PMIC devices) has incorrectly passed the PMIC name under the FSL PMIC case.

Fix that by passing "FSL_PMIC" as the parameter of pmic_get.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx53loco/mx53loco.c

index 81c511cdc187fd22cd4887dd2e0a0e79a88d819d..2c8cb7a1cc58d16bbacc7dd8376b59c76eba43be 100644 (file)
@@ -374,7 +374,7 @@ static int power_init(void)
                if (retval)
                        return retval;
 
-               p = pmic_get("DIALOG_PMIC");
+               p = pmic_get("FSL_PMIC");
                if (!p)
                        return -ENODEV;