提交 4c54c6de 编写于 作者: A Axel Lin 提交者: Mark Brown

ASoC: sgtl5000: fix module device table type for sgtl5000_dt_ids

The module device table for of_device_id should use "of" type.
Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Acked-by: NLiam Girdwood <lrg@ti.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 10645a7c
...@@ -1441,7 +1441,7 @@ static const struct of_device_id sgtl5000_dt_ids[] = { ...@@ -1441,7 +1441,7 @@ static const struct of_device_id sgtl5000_dt_ids[] = {
{ .compatible = "fsl,sgtl5000", }, { .compatible = "fsl,sgtl5000", },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(i2c, sgtl5000_dt_ids); MODULE_DEVICE_TABLE(of, sgtl5000_dt_ids);
static struct i2c_driver sgtl5000_i2c_driver = { static struct i2c_driver sgtl5000_i2c_driver = {
.driver = { .driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册