ASoC: sgtl5000: fix module device table type for sgtl5000_dt_ids
authorAxel Lin <axel.lin@gmail.com>
Thu, 11 Aug 2011 14:19:16 +0000 (22:19 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 12 Aug 2011 02:39:25 +0000 (11:39 +0900)
The module device table for of_device_id should use "of" type.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c

index 666fae6..91130fb 100644 (file)
@@ -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 = {