[U-Boot] [PATCH 2/4] drivers: omap_hsmmc: use mmc_get_blk_desc() to get the block device desc

Jaehoon Chung jh80.chung at samsung.com
Thu Mar 30 04:35:42 UTC 2017


On 03/23/2017 12:00 AM, Jean-Jacques Hiblot wrote:
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>

Applied on u-boot-mmc. Thanks!

Best Regards,
Jaehoon Chung

> ---
>  drivers/mmc/omap_hsmmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
> index fe92908..d985ac7 100644
> --- a/drivers/mmc/omap_hsmmc.c
> +++ b/drivers/mmc/omap_hsmmc.c
> @@ -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
>  
> 



More information about the U-Boot mailing list