Skip to content
Snippets Groups Projects
Commit 56f9cfbb authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

mx51evk: Fix pmic_init() argument


On mx51evk board the PMIC is connected via SPI interface, so it does not make
sense to pass I2C_PMIC into the pmic_init() interface.

Pass the SPI bus number via CONFIG_FSL_PMIC_BUS option instead.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent 3e9cbbbb
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,7 @@ static void power_init(void) ...@@ -174,7 +174,7 @@ static void power_init(void)
struct pmic *p; struct pmic *p;
int ret; int ret;
ret = pmic_init(I2C_PMIC); ret = pmic_init(CONFIG_FSL_PMIC_BUS);
if (ret) if (ret)
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment