projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae000e2
)
mmc: omap_hsmmc: use mmc_get_blk_desc() to get the block device desc
author
Jean-Jacques Hiblot
<jjhiblot@ti.com>
Wed, 22 Mar 2017 15:00:32 +0000
(16:00 +0100)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Thu, 30 Mar 2017 05:19:43 +0000
(14:19 +0900)
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mmc/omap_hsmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/omap_hsmmc.c
b/drivers/mmc/omap_hsmmc.c
index fe929085ebdcb35823f4eaf137093ab0a2719890..d985ac7b144edd1f3e4d29f2e2cbb98a4fea293c 100644
(file)
--- 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