From 67365374c8d20ad5439eb1c22b9e368008b034f4 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 3 Aug 2011 18:32:09 +0900 Subject: [PATCH] --- yaml --- r: 262950 b: refs/heads/master c: 40045a85df0ec4406fe611967ea9cf9fa668f493 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8750.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c3f28c267ac3..4f8fd79adfb1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6678050442e90a4e9511a9ed14b9bdfc5e393323 +refs/heads/master: 40045a85df0ec4406fe611967ea9cf9fa668f493 diff --git a/trunk/sound/soc/codecs/wm8750.c b/trunk/sound/soc/codecs/wm8750.c index 38f38fddd190..65fe78aa3757 100644 --- a/trunk/sound/soc/codecs/wm8750.c +++ b/trunk/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), };