diff mbox

[v3] mmc: add config and runtime option for number of mmcblk minors

Message ID AANLkTikLLwfSXbnjPByXTktEFFVueeAd7HZS5ft-rj-m@mail.gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Lei Wen Sept. 8, 2010, 2:25 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 8d2bd24..2e3eeb1 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -557,6 +557,7 @@  static struct mmc_blk_data *mmc_blk_alloc(struct
mmc_card *card)
        md->disk->private_data = md;
        md->disk->queue = md->queue.queue;
        md->disk->driverfs_dev = &card->dev;
+       md->disk->flags |= GENHD_FL_EXT_DEVT;

        /*