From: Tony Lindgren Date: Wed, 14 Sep 2005 14:24:25 +0000 (+0300) Subject: ARM: OMAP: Fixed MMC compile X-Git-Tag: v2.6.15-omap2~224 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6a259f29878b3de2ebb6c93fd354464eef98fdfa;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fixed MMC compile Fixed MMC compile --- diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c index 8b8a288f76c..43a912f41bc 100644 --- a/drivers/mmc/mmc_block.c +++ b/drivers/mmc/mmc_block.c @@ -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; } diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c index 68c8a8a6a8c..e3fdccd703c 100644 --- a/drivers/mmc/omap.c +++ b/drivers/mmc/omap.c @@ -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++;