summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mvsdio.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-11-06 06:35:09 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-26 16:30:59 +0300
commita26eba614afff0e39594101bcb73014a9a22fb33 (patch)
tree85da9f36aa1e9f7582ad3bd7eab45e7989b5cc02 /drivers/mmc/host/mvsdio.c
parentc34346b200757834fffdf231b6034258b01ba550 (diff)
downloadlinux-a26eba614afff0e39594101bcb73014a9a22fb33.tar.xz
mmc: block: Increase max_devices
Currently the driver imposes a limit of 256 total minor numbers, apparently based on the historic Unix/Linux limit. This is quite restrictive, particularly if we raise the maximum number of partitions per card to 256 to match sd. In order to make the full minor number space available we would have to replace the static dev_use and name_use arrays with struct ida. But we can at least allow use of 256 cards rather than just 256 minors, with only a small change. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mvsdio.c')
0 files changed, 0 insertions, 0 deletions