Revert "mmc: block: don't use parameter prefix if built as module"
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 11 Feb 2016 15:54:11 +0000 (16:54 +0100)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:11 +0000 (13:51 -0800)
commitbf9c9b48f1617f6653483483b231b27b0683177d
tree6cefdd217d739f23b38d5844b5297989c8acc42a
parent321e98d9e0baf7554f93adb70bbf6a0634f0009b
Revert "mmc: block: don't use parameter prefix if built as module"

This reverts commit 829b6962f7e3cfc06f7c5c26269fd47ad48cf503.

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: 829b6962f7e3 ("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>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/mmc/card/block.c