mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 12:01:31 +00:00
mmc: omap_hsmmc: use mmc_get_blk_desc() to get the block device desc
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
ae000e231e
commit
dc09127a26
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ static unsigned char mmc_board_init(struct mmc *mmc)
|
||||||
|
|
||||||
#if defined(CONFIG_OMAP54XX) || defined(CONFIG_OMAP44XX)
|
#if defined(CONFIG_OMAP54XX) || defined(CONFIG_OMAP44XX)
|
||||||
/* PBIAS config needed for MMC1 only */
|
/* PBIAS config needed for MMC1 only */
|
||||||
if (mmc->block_dev.devnum == 0)
|
if (mmc_get_blk_desc(mmc)->devnum == 0)
|
||||||
vmmc_pbias_config(LDO_VOLT_3V0);
|
vmmc_pbias_config(LDO_VOLT_3V0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue