All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] davinci_mmc: set MODULE_ALIAS to allow autoloading
@ 2012-04-05  8:05 Jan Luebbe
  2012-04-10 14:10 ` Chris Ball
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2012-04-05  8:05 UTC (permalink / raw)
  To: Chris Ball, linux-mmc; +Cc: davinci-linux-open-source, Jan Luebbe

Davinci MMC platform devices (as in mach-davinci/devices-da8xx.c) use
"davinci_mmc" as their name. To allow autoloading of the relevant
driver, the module needs to set the MODULE_ALIAS.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 drivers/mmc/host/davinci_mmc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
index c1f3673..7cf6c62 100644
--- a/drivers/mmc/host/davinci_mmc.c
+++ b/drivers/mmc/host/davinci_mmc.c
@@ -1533,4 +1533,5 @@ module_exit(davinci_mmcsd_exit);
 MODULE_AUTHOR("Texas Instruments India");
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("MMC/SD driver for Davinci MMC controller");
+MODULE_ALIAS("platform:davinci_mmc");
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-10 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05  8:05 [PATCH] davinci_mmc: set MODULE_ALIAS to allow autoloading Jan Luebbe
2012-04-10 14:10 ` Chris Ball

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.