summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/moxart-mmc.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-18 00:49:59 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-10-26 17:59:57 +0300
commit774523539fff7bf34499b7b088dc8b2c0b4a04bc (patch)
tree01ceaa8251d13306f45975e4c1cd32c6e3cb2620 /drivers/mmc/host/moxart-mmc.c
parente02b9d7cbfe1536aef9e7ba7751993d7eca6e829 (diff)
downloadlinux-774523539fff7bf34499b7b088dc8b2c0b4a04bc.tar.xz
mmc: moxart: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/moxart-mmc.c')
-rw-r--r--drivers/mmc/host/moxart-mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c
index 006f1862444b..79905ce895ad 100644
--- a/drivers/mmc/host/moxart-mmc.c
+++ b/drivers/mmc/host/moxart-mmc.c
@@ -711,6 +711,7 @@ static const struct of_device_id moxart_mmc_match[] = {
{ .compatible = "faraday,ftsdc010" },
{ }
};
+MODULE_DEVICE_TABLE(of, moxart_mmc_match);
static struct platform_driver moxart_mmc_driver = {
.probe = moxart_probe,