diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-01 10:33:37 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-01 10:33:37 (GMT) |
commit | f36c4045db71af89a7ea63425676925b7e6b4761 (patch) | |
tree | 43338303bd9856e8727e95fd091b4565cf428eed /sound/soc/codecs | |
parent | aa983d9d63c38f596fb87754205da9b7a8d2f6fd (diff) | |
parent | 140318aaa924ce9664ff59366993228cf1547f1d (diff) | |
download | linux-fsl-qoriq-f36c4045db71af89a7ea63425676925b7e6b4761.tar.xz |
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 ae083eb..90ec8c5 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); |