mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
mmc: Fix mmc_spi error on cmd->flags field
The recent removal of the cmd->flags field caused error in the debuging code of mmc_spi. Fix this: mmc_spi.c: In function 'mmc_spi_request': mmc_spi.c:179:2: error: 'struct mmc_cmd' has no member named 'flags' Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andy Fleming <afleming@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
49a627f8a1
commit
d6b2e5085c
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ static int mmc_spi_request(struct mmc *mmc, struct mmc_cmd *cmd,
|
|||
u8 r1;
|
||||
int i;
|
||||
int ret = 0;
|
||||
debug("%s:cmd%d %x %x %x\n", __func__,
|
||||
cmd->cmdidx, cmd->resp_type, cmd->cmdarg, cmd->flags);
|
||||
debug("%s:cmd%d %x %x\n", __func__,
|
||||
cmd->cmdidx, cmd->resp_type, cmd->cmdarg);
|
||||
spi_claim_bus(spi);
|
||||
spi_cs_activate(spi);
|
||||
r1 = mmc_spi_sendcmd(mmc, cmd->cmdidx, cmd->cmdarg);
|
||||
|
|
Loading…
Reference in a new issue