All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RESEND] common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV
@ 2016-06-15  8:56 Ziyuan Xu
  2016-06-17  3:52 ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Ziyuan Xu @ 2016-06-15  8:56 UTC (permalink / raw)
  To: u-boot

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>
---
 common/fb_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/fb_mmc.c b/common/fb_mmc.c
index e3abcc8..26025dc 100644
--- a/common/fb_mmc.c
+++ b/common/fb_mmc.c
@@ -206,7 +206,7 @@ void fb_mmc_erase(const char *cmd, char *response)
 	printf("Erasing blocks " LBAFU " to " LBAFU " due to alignment\n",
 	       blks_start, blks_start + blks_size);
 
-	blks = dev_desc->block_erase(dev_desc, blks_start, blks_size);
+	blks = blk_derase(dev_desc, blks_start, blks_size);
 	if (blks != blks_size) {
 		error("failed erasing from device %d", dev_desc->devnum);
 		fastboot_fail(response_str, "failed erasing from device");
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [RESEND] common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV
  2016-06-15  8:56 [U-Boot] [RESEND] common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV Ziyuan Xu
@ 2016-06-17  3:52 ` Simon Glass
  2016-07-03 23:25   ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2016-06-17  3:52 UTC (permalink / raw)
  To: u-boot

On 15 June 2016 at 02:56, Ziyuan Xu <xzy.xu@rock-chips.com> wrote:
> 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>
> ---
>  common/fb_mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [RESEND] common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV
  2016-06-17  3:52 ` Simon Glass
@ 2016-07-03 23:25   ` Simon Glass
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Glass @ 2016-07-03 23:25 UTC (permalink / raw)
  To: u-boot

On 16 June 2016 at 21:52, Simon Glass <sjg@chromium.org> wrote:
> On 15 June 2016 at 02:56, Ziyuan Xu <xzy.xu@rock-chips.com> wrote:
>> 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>
>> ---
>>  common/fb_mmc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/next, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-03 23:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15  8:56 [U-Boot] [RESEND] common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV Ziyuan Xu
2016-06-17  3:52 ` Simon Glass
2016-07-03 23:25   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.