summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-17 23:50:25 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-10-26 15:59:58 +0100
commitb73f34c22d283f049347f7f625c272ec22830eb3 (patch)
tree6d85d02abf45e7afa6c9f257af9c6eb8322d40e6 /drivers/mmc
parent774523539fff7bf34499b7b088dc8b2c0b4a04bc (diff)
mmc: omap: 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> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index b763b11ed9e1..b9958a123594 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -1490,6 +1490,7 @@ static const struct of_device_id mmc_omap_match[] = {
{ .compatible = "ti,omap2420-mmc", },
{ },
};
+MODULE_DEVICE_TABLE(of, mmc_omap_match);
#endif
static struct platform_driver mmc_omap_driver = {