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: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
4e785c6ae9
commit
d74b331f2f
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user