ASoC: Fix build for corgi and poodle
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Feb 2009 12:34:53 +0000 (12:34 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Feb 2009 14:46:58 +0000 (14:46 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/corgi.c
sound/soc/pxa/poodle.c

index eaa66915a324bfafb6b9c252a17f6e64bd95497f..146973ae0974d31ed46fd52d4174b93909196277 100644 (file)
@@ -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;
 
index fd683a0b742df0242205f48e6207bfce45e6f41c..fb17a0a5a093c7d33a0b1c140d0214a574a598dc 100644 (file)
@@ -17,6 +17,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 <sound/core.h>
@@ -330,7 +331,7 @@ static int __init poodle_init(void)
        if (!machine_is_poodle())
                return -ENODEV;
 
-       ret = wm8731_i2c_setup();
+       ret = wm8731_i2c_register();
        if (ret != 0)
                return ret;