diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-03-22 16:00:32 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-03-30 14:19:43 +0900 |
commit | dc09127a26f67044c5c6b5062163f95e35d06a3b (patch) | |
tree | a7055540bb2ae8421aa2c22acfe2524f29b892ae /drivers/mmc | |
parent | ae000e231e35ef6e1ec4f7a3e477cf4bef2cf189 (diff) |
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/omap_hsmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index fe929085eb..d985ac7b14 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 |