Commit 4c54c6de authored by Axel Lin's avatar Axel Lin Committed by 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: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment