]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Fix error in RPMB code
authorMarek Vasut <marex@denx.de>
Wed, 4 May 2016 14:35:25 +0000 (16:35 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 6 May 2016 01:35:38 +0000 (21:35 -0400)
commitb955e42bad81a2ddad2f82c1843771de9bdfe6d4
treef08d50e2f1780454555ea4698c13bff6dbe698fb
parent4bf11dc88c246c354ab6060309018a8feb97ec10
mmc: Fix error in RPMB code

Since we do not build any board with CONFIG_SUPPORT_EMMC_RPMB , this
piece of code evaded conversion. Fix the following compiler error:

cmd/mmc.c: In function 'do_mmcrpmb':
cmd/mmc.c:316:32: error: 'struct blk_desc' has no member named 'part_num'
  original_part = mmc->block_dev.part_num;
                                ^

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Tom Rini <trini@konsulko.com>
cmd/mmc.c