提交 054bc835 编写于 作者: L Luis de Bethencourt 提交者: Mark Brown

ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers

These platform drivers have 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 <luis@debethencourt.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 bc0195aa
...@@ -862,6 +862,8 @@ static const struct of_device_id bcm2835_i2s_of_match[] = { ...@@ -862,6 +862,8 @@ static const struct of_device_id bcm2835_i2s_of_match[] = {
{}, {},
}; };
MODULE_DEVICE_TABLE(of, bcm2835_i2s_of_match);
static struct platform_driver bcm2835_i2s_driver = { static struct platform_driver bcm2835_i2s_driver = {
.probe = bcm2835_i2s_probe, .probe = bcm2835_i2s_probe,
.driver = { .driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册