[alsa-devel] [PATCH] ASoC: sgtl5000: fix module device table type for sgtl5000_dt_ids
Liam Girdwood
lrg at ti.com
Thu Aug 11 16:49:58 CEST 2011
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 at 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 at ti.com>
More information about the Alsa-devel
mailing list