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

From: Liam Girdwood
Date: Thu Aug 11 2011 - 10:50:18 EST


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@xxxxxxxxx>
> ---
> 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@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/