mmc_block: Allow more than 8 partitions per card
authorColin Cross <ccross@android.com>
Fri, 3 Sep 2010 19:41:21 +0000 (12:41 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:35 +0000 (09:09 -0700)
commitfa746fabf17fdcf93450ba16bf831a8faf54e692
treeb3f8d60f51697210df8e65c10a2d528af2f88459
parentfa92a3d6959546baa27e892188d3e9bb79c31741
mmc_block: Allow more than 8 partitions per card

Set the GENHD_FL_EXT_DEVT flag, which will allocate minor numbers
in major 259 for partitions past disk->minors.

Also remove the use of disk_devt to determine devidx from md->disk.
md->disk->first_minor is always initialized from devidx and can
always be used to recover it.

Signed-off-by: Colin Cross <ccross@android.com>
drivers/mmc/card/block.c