Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 829b6962 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Ulf Hansson
Browse files

mmc: block: don't use parameter prefix if built as module



It's excessive to use prefix for the parameters when you do
modprobe mmc-block mmcblk.perdev_minors=16

Make this available only for built-in case.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 8292adc6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -47,10 +47,13 @@
#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