diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-06-24 14:32:21 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-08-17 11:32:42 +0200 |
commit | 829b6962f7e3cfc06f7c5c26269fd47ad48cf503 (patch) | |
tree | e27d46f395d06346beea9511b586e52f40eabc4d /drivers/mmc | |
parent | 8292adc6ba1d59fa227bcc43cec2ce207cbb588c (diff) | |
download | talos-obmc-linux-829b6962f7e3cfc06f7c5c26269fd47ad48cf503.tar.gz talos-obmc-linux-829b6962f7e3cfc06f7c5c26269fd47ad48cf503.zip |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/card/block.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index a1b820fcb2a6..50b89abc8428 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -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 |