]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mmc: block: don't use parameter prefix if built as module"
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 11 Feb 2016 15:42:58 +0000 (16:42 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 11 Feb 2016 15:49:35 +0000 (16:49 +0100)
commitb8e8e22951fe4f81d0571a2b3c4fc92127f7def7
treec30fd48ce8d9d3fc0f6ee1e3257b9b0686995ef5
parent2cda020dc9b2234e041c804211319de0e0df7385
Revert "mmc: block: don't use parameter prefix if built as module"

This reverts commit 9932073651ef4215c4ed88203f995b125318e7ea.

Revert this change as it causes a sysfs path to change and therefore
introduces and ABI regression. More precisely Android's vold is not being
able to access /sys/module/mmcblk/parameters/perdev_minors any more, since
the path becomes changed to: "/sys/module/mmc_block/..."

Fixes: 9932073651ef ("mmc: block: don't use parameter prefix if built as
module")
Reported-by: John Stultz <john.stultz@linaro.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c