]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
mmc: davinci_mmc: set MODULE_ALIAS to allow autoloading
authorJan Luebbe <jlu@pengutronix.de>
Thu, 5 Apr 2012 08:05:08 +0000 (10:05 +0200)
committerChris Ball <cjb@laptop.org>
Sun, 22 Apr 2012 15:16:58 +0000 (11:16 -0400)
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>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/davinci_mmc.c

index c1f3673ae1efa9df281bbb88687029af24309f29..7cf6c624bf737fd1858422a0b6237b74de50fb83 100644 (file)
@@ -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");