Re: [alsa-devel] [PATCH] ASoC: sgtl5000: fix module device table type for sgtl5000_dt_ids

11 Aug
2011
11 Aug
'11
5:49 p.m.
On 11/08/11 15:19, Axel Lin wrote:
The module device table for of_device_id should use "of" type.
Signed-off-by: Axel Lin axel.lin@gmail.com
sound/soc/codecs/sgtl5000.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 666fae6..91130fb 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -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 lrg@ti.com
5009
Age (days ago)
5009
Last active (days ago)
0 comments
1 participants
participants (1)
-
Liam Girdwood