summaryrefslogtreecommitdiff
path: root/sound/soc/pxa/corgi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-02-18 15:34:53 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-02-18 17:46:58 +0300
commitfc9967576829a01c98e5388410dc12c61006f79f (patch)
tree9c0595755ca46c8511791c65680e110d06a16da9 /sound/soc/pxa/corgi.c
parent59544d33ff3118f22a484d8be06cdf5cfc2fdca5 (diff)
downloadlinux-fc9967576829a01c98e5388410dc12c61006f79f.tar.xz
ASoC: Fix build for corgi and poodle
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/corgi.c')
-rw-r--r--sound/soc/pxa/corgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/pxa/corgi.c b/sound/soc/pxa/corgi.c
index eaa66915a324..146973ae0974 100644
--- a/sound/soc/pxa/corgi.c
+++ b/sound/soc/pxa/corgi.c
@@ -16,6 +16,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/timer.h>
+#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
@@ -365,7 +366,7 @@ static int __init corgi_init(void)
machine_is_husky()))
return -ENODEV;
- ret = wm8731_i2c_setup();
+ ret = wm8731_i2c_register();
if (ret != 0)
return ret;