diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-01 06:33:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-01 06:33:37 -0400 |
commit | f36c4045db71af89a7ea63425676925b7e6b4761 (patch) | |
tree | 43338303bd9856e8727e95fd091b4565cf428eed /sound/soc/codecs | |
parent | aa983d9d63c38f596fb87754205da9b7a8d2f6fd (diff) | |
parent | 140318aaa924ce9664ff59366993228cf1547f1d (diff) |
Merge remote branch 'takashi/topic/asoc' into for-2.6.33
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm8711.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8711.c b/sound/soc/codecs/wm8711.c index ae083eb92fb7..90ec8c58e2f4 100644 --- a/sound/soc/codecs/wm8711.c +++ b/sound/soc/codecs/wm8711.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/pm.h> | 19 | #include <linux/pm.h> |
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | #include <linux/spi/spi.h> | ||
22 | #include <sound/core.h> | 23 | #include <sound/core.h> |
23 | #include <sound/pcm.h> | 24 | #include <sound/pcm.h> |
24 | #include <sound/pcm_params.h> | 25 | #include <sound/pcm_params.h> |
@@ -632,9 +633,9 @@ static int __init wm8711_modinit(void) | |||
632 | } | 633 | } |
633 | #endif | 634 | #endif |
634 | #if defined(CONFIG_SPI_MASTER) | 635 | #if defined(CONFIG_SPI_MASTER) |
635 | ret = spi_register_driver(&wm8731_spi_driver); | 636 | ret = spi_register_driver(&wm8711_spi_driver); |
636 | if (ret != 0) { | 637 | if (ret != 0) { |
637 | printk(KERN_ERR "Failed to register WM8731 SPI driver: %d\n", | 638 | printk(KERN_ERR "Failed to register WM8711 SPI driver: %d\n", |
638 | ret); | 639 | ret); |
639 | } | 640 | } |
640 | #endif | 641 | #endif |
@@ -648,7 +649,7 @@ static void __exit wm8711_exit(void) | |||
648 | i2c_del_driver(&wm8711_i2c_driver); | 649 | i2c_del_driver(&wm8711_i2c_driver); |
649 | #endif | 650 | #endif |
650 | #if defined(CONFIG_SPI_MASTER) | 651 | #if defined(CONFIG_SPI_MASTER) |
651 | spi_unregister_driver(&wm8731_spi_driver); | 652 | spi_unregister_driver(&wm8711_spi_driver); |
652 | #endif | 653 | #endif |
653 | } | 654 | } |
654 | module_exit(wm8711_exit); | 655 | module_exit(wm8711_exit); |