summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-01 12:33:37 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-01 12:33:37 +0200
commitf36c4045db71af89a7ea63425676925b7e6b4761 (patch)
tree43338303bd9856e8727e95fd091b4565cf428eed /sound/soc/codecs
parentASoC: Factor out analogue platform data from WM8993 (diff)
parentASoC: Fix snd_soc_dai_set_pll() calls in neo1973_*.c (diff)
downloadlinux-f36c4045db71af89a7ea63425676925b7e6b4761.tar.xz
linux-f36c4045db71af89a7ea63425676925b7e6b4761.zip
Merge remote branch 'takashi/topic/asoc' into for-2.6.33
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm8711.c7
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 @@
#include <linux/pm.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
+#include <linux/spi/spi.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
@@ -632,9 +633,9 @@ static int __init wm8711_modinit(void)
}
#endif
#if defined(CONFIG_SPI_MASTER)
- ret = spi_register_driver(&wm8731_spi_driver);
+ ret = spi_register_driver(&wm8711_spi_driver);
if (ret != 0) {
- printk(KERN_ERR "Failed to register WM8731 SPI driver: %d\n",
+ printk(KERN_ERR "Failed to register WM8711 SPI driver: %d\n",
ret);
}
#endif
@@ -648,7 +649,7 @@ static void __exit wm8711_exit(void)
i2c_del_driver(&wm8711_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
- spi_unregister_driver(&wm8731_spi_driver);
+ spi_unregister_driver(&wm8711_spi_driver);
#endif
}
module_exit(wm8711_exit);