diff options
-rw-r--r-- | sound/soc/pxa/corgi.c | 3 | ||||
-rw-r--r-- | sound/soc/pxa/poodle.c | 3 |
2 files changed, 4 insertions, 2 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 @@ | |||
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/moduleparam.h> | 17 | #include <linux/moduleparam.h> |
18 | #include <linux/timer.h> | 18 | #include <linux/timer.h> |
19 | #include <linux/i2c.h> | ||
19 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
20 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
21 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
@@ -365,7 +366,7 @@ static int __init corgi_init(void) | |||
365 | machine_is_husky())) | 366 | machine_is_husky())) |
366 | return -ENODEV; | 367 | return -ENODEV; |
367 | 368 | ||
368 | ret = wm8731_i2c_setup(); | 369 | ret = wm8731_i2c_register(); |
369 | if (ret != 0) | 370 | if (ret != 0) |
370 | return ret; | 371 | return ret; |
371 | 372 | ||
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c index fd683a0b742d..fb17a0a5a093 100644 --- a/sound/soc/pxa/poodle.c +++ b/sound/soc/pxa/poodle.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <linux/moduleparam.h> | 18 | #include <linux/moduleparam.h> |
19 | #include <linux/timer.h> | 19 | #include <linux/timer.h> |
20 | #include <linux/i2c.h> | ||
20 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
21 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
22 | #include <sound/core.h> | 23 | #include <sound/core.h> |
@@ -330,7 +331,7 @@ static int __init poodle_init(void) | |||
330 | if (!machine_is_poodle()) | 331 | if (!machine_is_poodle()) |
331 | return -ENODEV; | 332 | return -ENODEV; |
332 | 333 | ||
333 | ret = wm8731_i2c_setup(); | 334 | ret = wm8731_i2c_register(); |
334 | if (ret != 0) | 335 | if (ret != 0) |
335 | return ret; | 336 | return ret; |
336 | 337 | ||