]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: Ensure hardware partitions don't mess with mmcblk device naming.
authorAndrei Warkentin <andreiw@motorola.com>
Fri, 22 Apr 2011 03:46:13 +0000 (22:46 -0500)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 01:02:38 +0000 (21:02 -0400)
commitfeb8b2609be39a85de9bab1c1448bcefeba58355
tree0557ae6ba11f6bf1c100f3432a1547c62cbcc864
parentaea39eeac8ee5fed62bd50d5ab2a3eabb94845a2
mmc: Ensure hardware partitions don't mess with mmcblk device naming.

With the hardware partitions support (which represent additional logical
devices present on MMC), devidx does not correspond with index used to form
/dev/mmcblkX names. So use an additional allocated index for device names.

Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c