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

efikamx: Fix pmic_init() argument


On efikamx 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>
parent 4e785c6a
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ static void power_init(void) ...@@ -159,7 +159,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