]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
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)
committerArve Hjønnevåg <arve@android.com>
Tue, 19 Feb 2013 23:49:06 +0000 (15:49 -0800)
commit8a0027b9312cab023bd01780bc6119bce6bca7ce
tree6b189b8c37680e6aaf2f4baa4023641c058f628d
parent77a0d91967193e522489323257caa5509181c940
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