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)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:42 +0000 (14:51 -0500)
commit44c23e9127b8f9f46588638c020d79a8db658e24
tree255e8a2839197ea9bd1478973e30305b782768a6
parent4006e1c8ab0addce79e6b82f98fe2d7499793408
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>
(cherry picked from commit a5ebb87db84392edfd3142c3a6a78431d820a789)
drivers/mmc/card/block.c