mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +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)
|
||||
/* 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);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue