Skip to content

Commit

Permalink
ASoC: Fix build for corgi and poodle
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 18, 2009
1 parent 59544d3 commit fc99675
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sound/soc/pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;

Expand Down
3 changes: 2 additions & 1 deletion sound/soc/pxa/poodle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit fc99675

Please sign in to comment.