Commit b73f34c2 authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Ulf Hansson

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: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 77452353
...@@ -1490,6 +1490,7 @@ static const struct of_device_id mmc_omap_match[] = { ...@@ -1490,6 +1490,7 @@ static const struct of_device_id mmc_omap_match[] = {
{ .compatible = "ti,omap2420-mmc", }, { .compatible = "ti,omap2420-mmc", },
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, mmc_omap_match);
#endif #endif
static struct platform_driver mmc_omap_driver = { static struct platform_driver mmc_omap_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment