]> 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)
commit3479a354b77cc5b7cb4696aae686863e5ab9e0bc
tree0557ae6ba11f6bf1c100f3432a1547c62cbcc864
parent393a3388f3001cabeab2c4f51c4e3aa1f0f13e55
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