fixed compile error: drivers/mmc/card/block.c:992:46: error: request for member ...
authorkfx <kfx@rock-chips.com>
Tue, 9 Jul 2013 02:55:13 +0000 (10:55 +0800)
committerkfx <kfx@rock-chips.com>
Tue, 9 Jul 2013 02:55:13 +0000 (10:55 +0800)
drivers/mmc/card/block.c

index aa0b48116ba89a85f2e1d65150e291420c71b346..ff810129feb27184a59c982be8e9308731289247 100644 (file)
@@ -980,7 +980,7 @@ static int sdmmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req)
                 * stop.error indicates a problem with the stop command.  Data
                 * may have been transferred, or may still be transferring.
                 */
-               if (brq->sbc.error || brq->cmd.error || brq.stop.error) {
+               if (brq->sbc.error || brq->cmd.error || brq->stop.error) {
                        switch (mmc_blk_cmd_recovery(card, req, brq)) {
                        case ERR_RETRY:
                                if (retry++ < 5)