Commit 6a259f29 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fixed MMC compile

Fixed MMC compile
parent 89f99811
......@@ -371,7 +371,7 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
spin_unlock_irq(&md->lock);
/* If a command fails, the card might be removed. */
mmc_detect_change(card->host);
mmc_detect_change(card->host, 0);
return 0;
}
......
......@@ -612,7 +612,7 @@ static void mmc_omap_switch_handler(void *data)
host->switch_last_state = cover_open;
}
DBG("MMC cover switch handler started\n");
mmc_detect_change(host->mmc);
mmc_detect_change(host->mmc, 0);
list_for_each_entry(card, &host->mmc->cards, node) {
if (mmc_card_present(card))
cards++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment