提交 77452353 编写于 作者: L Luis de Bethencourt 提交者: Ulf Hansson

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: NLuis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 e02b9d7c
...@@ -711,6 +711,7 @@ static const struct of_device_id moxart_mmc_match[] = { ...@@ -711,6 +711,7 @@ static const struct of_device_id moxart_mmc_match[] = {
{ .compatible = "faraday,ftsdc010" }, { .compatible = "faraday,ftsdc010" },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, moxart_mmc_match);
static struct platform_driver moxart_mmc_driver = { static struct platform_driver moxart_mmc_driver = {
.probe = moxart_probe, .probe = moxart_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册