ASoC: sgtl5000: fix module device table type for sgtl5000_dt_ids
Subsystems (3)
PATCH 1/1 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 Axel Lin <[email protected]>
--- sound/soc/codecs/sgtl5000.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/sgtl5000.c +1 -1
@@ -1441,7 +1441,7 @@ static const struct of_device_id sgtl5000_dt_ids[] = { { .compatible = "fsl,sgtl5000", }, {/* sentinel */ } }; -MODULE_DEVICE_TABLE (i2c, sgtl5000_dt_ids); +MODULE_DEVICE_TABLE (of, sgtl5000_dt_ids);static struct i2c_driver sgtl5000_i2c_driver = { .driver = {
Signature · 1 line
1.7.4.1
Quoted 12 lines · Axel Lin
The module device table for
of_device_idshould use "of" type.Signed-off-by Axel Lin <[email protected]>--- sound/soc/codecs/sgtl5000.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/codecs/sgtl5000.c +0
-0
sound/soc/codecs/sgtl5000.c static const struct of_device_id sgtl5000_dt_ids[] = { · line 1447
Quoted 8 lines
sound/soc/codecs/sgtl5000.c +1
-1@@ -1441,7 +1441,7 @@ static const struct of_device_id sgtl5000_dt_ids[] = { { .compatible = "fsl,sgtl5000", }, {/* sentinel */ } }; -MODULE_DEVICE_TABLE (i2c, sgtl5000_dt_ids); +MODULE_DEVICE_TABLE (of, sgtl5000_dt_ids);static struct i2c_driver sgtl5000_i2c_driver = { .driver = {
Acked-by Liam Girdwood <[email protected]>
Mark Brown
AppliedQuoted 1 line · Axel Lin
The module device table for
of_device_idshould use "of" type.
Applied, thanks.