summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-04-05 08:05:08 (GMT)
committerChris Ball <cjb@laptop.org>2012-04-22 15:16:58 (GMT)
commit7f8bea7f75618165d015f083c77f1db3e4584f88 (patch)
treeefaeff7e81fe5ccb4e03c35a15ad6a0bee8b3ca3 /drivers
parentcd03d9a85802c0023e522c21a1dabaf3e5785010 (diff)
downloadlinux-7f8bea7f75618165d015f083c77f1db3e4584f88.tar.xz
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')
-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 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");