Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mmc: sdhci: Stop advertising the driver in dmesg

As much as we have grown used to seeing this message on
every kernel boot, it does not add any technical value.

Drop all messages from sdhci_drv_init(), and drop the
module_init() and module_exit() calls as well since they
now become empty.

The modules becomes a pure library module, meaning it will
get pulled in by modprobe() when the symbols inside it
are needed, or compiled in if any users are compiled in.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Linus Walleij and committed by
Ulf Hansson
366b5941 c0b68bc2

-16
-16
drivers/mmc/host/sdhci.c
··· 4997 4997 * * 4998 4998 \*****************************************************************************/ 4999 4999 5000 - static int __init sdhci_drv_init(void) 5001 - { 5002 - pr_info(DRIVER_NAME 5003 - ": Secure Digital Host Controller Interface driver\n"); 5004 - pr_info(DRIVER_NAME ": Copyright(c) Pierre Ossman\n"); 5005 - 5006 - return 0; 5007 - } 5008 - 5009 - static void __exit sdhci_drv_exit(void) 5010 - { 5011 - } 5012 - 5013 - module_init(sdhci_drv_init); 5014 - module_exit(sdhci_drv_exit); 5015 - 5016 5000 module_param(debug_quirks, uint, 0444); 5017 5001 module_param(debug_quirks2, uint, 0444); 5018 5002