diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-04-05 10:05:08 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-04-22 17:16:58 +0200 |
commit | 7f8bea7f75618165d015f083c77f1db3e4584f88 (patch) | |
tree | efaeff7e81fe5ccb4e03c35a15ad6a0bee8b3ca3 /drivers/mmc/host/davinci_mmc.c | |
parent | mmc: omap_hsmmc: Cleanup use of cpu_is_* for debounce_clock (diff) | |
download | linux-7f8bea7f75618165d015f083c77f1db3e4584f88.tar.xz 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.c | 1 |
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"); |