summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/davinci_mmc.c
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-04-05 10:05:08 +0200
committerChris Ball <cjb@laptop.org>2012-04-22 11:16:58 -0400
commit7f8bea7f75618165d015f083c77f1db3e4584f88 (patch)
treeefaeff7e81fe5ccb4e03c35a15ad6a0bee8b3ca3 /drivers/mmc/host/davinci_mmc.c
parentcd03d9a85802c0023e522c21a1dabaf3e5785010 (diff)
downloadlinux-7f8bea7f75618165d015f083c77f1db3e4584f88.tar.gz
linux-7f8bea7f75618165d015f083c77f1db3e4584f88.tar.bz2
linux-7f8bea7f75618165d015f083c77f1db3e4584f88.zip
mmc: davinci_mmc: set MODULE_ALIAS to allow autoloading
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>
Diffstat (limited to 'drivers/mmc/host/davinci_mmc.c')
-rw-r--r--drivers/mmc/host/davinci_mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
index c1f3673ae1ef..7cf6c624bf73 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");