]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fixed MMC compile
authorTony Lindgren <tony@atomide.com>
Wed, 14 Sep 2005 14:24:25 +0000 (17:24 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 14 Sep 2005 14:24:25 +0000 (17:24 +0300)
Fixed MMC compile

drivers/mmc/mmc_block.c
drivers/mmc/omap.c

index 8b8a288f76c219f86536ac2c7d0322ae17e359be..43a912f41bcd8c0bca514fe71278b1aedc9f1515 100644 (file)
@@ -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;
 }
index 68c8a8a6a8ce50ba13c4cfbac6dd74a96bcfddae..e3fdccd703c03a68449b7bb22cc2d78fefd6a748 100644 (file)
@@ -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++;