From: Andy Shevchenko Date: Wed, 24 Jun 2015 11:32:21 +0000 (+0300) Subject: mmc: block: don't use parameter prefix if built as module X-Git-Tag: v4.14-rc1~4727^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=829b6962f7e3cfc06f7c5c26269fd47ad48cf503;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index a1b820f..50b89ab 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