common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV
authorXu Ziyuan <xzy.xu@rock-chips.com>
Wed, 15 Jun 2016 08:56:18 +0000 (16:56 +0800)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commitec3cde1e832067352532013988f4590c2f2f6c4f
tree8f16b1dc3a57e48e2d703ab26c6c89c52949ab2b
parent4b689f02ffa0aebdfef204b5c5c17134e97459c3
common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV

This fixes the following compiler error:

common/fb_mmc.c: In function ‘fb_mmc_erase’:
common/fb_mmc.c:209:17: error: ‘struct blk_desc’ has no member named
‘block_erase’

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/fb_mmc.c