summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-10 00:18:10 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-10 00:18:10 +0900
commit68817ee48a1aab274846e3abb9d4475c80276b54 (patch)
treee66c244c9d87b2df5428cbe4f48b4aa57ba42239 /sound/soc/codecs
parent0473e61b9aeb92e167516a90bf045aa925aa3782 (diff)
parent371e7305c6c348d9e14a98fe337fadbd4106cfef (diff)
Merge branch 'for-3.1' into for-3.2
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm8750.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c
index 38f38fddd190..65fe78aa3757 100644
--- a/sound/soc/codecs/wm8750.c
+++ b/sound/soc/codecs/wm8750.c
@@ -778,11 +778,18 @@ static int __devexit wm8750_spi_remove(struct spi_device *spi)
return 0;
}
+static const struct spi_device_id wm8750_spi_ids[] = {
+ { "wm8750", 0 },
+ { "wm8987", 0 },
+};
+MODULE_DEVICE_TABLE(spi, wm8750_spi_id);
+
static struct spi_driver wm8750_spi_driver = {
.driver = {
.name = "wm8750-codec",
.owner = THIS_MODULE,
},
+ .id_table = wm8750_spi_ids,
.probe = wm8750_spi_probe,
.remove = __devexit_p(wm8750_spi_remove),
};