diff options
-rw-r--r-- | sound/soc/codecs/wm8750.c | 7 |
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) | |||
778 | return 0; | 778 | return 0; |
779 | } | 779 | } |
780 | 780 | ||
781 | static const struct spi_device_id wm8750_spi_ids[] = { | ||
782 | { "wm8750", 0 }, | ||
783 | { "wm8987", 0 }, | ||
784 | }; | ||
785 | MODULE_DEVICE_TABLE(spi, wm8750_spi_id); | ||
786 | |||
781 | static struct spi_driver wm8750_spi_driver = { | 787 | static struct spi_driver wm8750_spi_driver = { |
782 | .driver = { | 788 | .driver = { |
783 | .name = "wm8750-codec", | 789 | .name = "wm8750-codec", |
784 | .owner = THIS_MODULE, | 790 | .owner = THIS_MODULE, |
785 | }, | 791 | }, |
792 | .id_table = wm8750_spi_ids, | ||
786 | .probe = wm8750_spi_probe, | 793 | .probe = wm8750_spi_probe, |
787 | .remove = __devexit_p(wm8750_spi_remove), | 794 | .remove = __devexit_p(wm8750_spi_remove), |
788 | }; | 795 | }; |