Skip to content

Commit

Permalink
Revert "mmc: block: don't use parameter prefix if built as module"
Browse files Browse the repository at this point in the history
This reverts commit 829b696.

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: 829b696 ("mmc: block: don't use parameter prefix if built as
module")
Reported-by: John Stultz <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
storulf committed Feb 11, 2016
1 parent 6a645dd commit a5ebb87
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/mmc/card/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,10 @@
#include "queue.h"

MODULE_ALIAS("mmc:block");

#ifdef KERNEL
#ifdef MODULE_PARAM_PREFIX
#undef MODULE_PARAM_PREFIX
#endif
#define MODULE_PARAM_PREFIX "mmcblk."
#endif

#define INAND_CMD38_ARG_EXT_CSD 113
#define INAND_CMD38_ARG_ERASE 0x00
Expand Down

0 comments on commit a5ebb87

Please sign in to comment.