diff options
author | Marek Vasut <marex@denx.de> | 2012-09-11 08:59:51 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-10-22 02:53:35 -0500 |
commit | d6b2e5085c8fe3e70f9fffd450e54efae99cbf41 (patch) | |
tree | 19a10a2c3d273e45bdb761666d18c1212afe85c5 | |
parent | 49a627f8a1646db883a72c7df3bcc4079138076a (diff) | |
download | u-boot-imx-d6b2e5085c8fe3e70f9fffd450e54efae99cbf41.zip u-boot-imx-d6b2e5085c8fe3e70f9fffd450e54efae99cbf41.tar.gz u-boot-imx-d6b2e5085c8fe3e70f9fffd450e54efae99cbf41.tar.bz2 |
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>
-rw-r--r-- | drivers/mmc/mmc_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/mmc_spi.c b/drivers/mmc/mmc_spi.c index de43a85..11ba532 100644 --- a/drivers/mmc/mmc_spi.c +++ b/drivers/mmc/mmc_spi.c @@ -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); |