Commit fc996757 authored by Mark Brown's avatar Mark Brown

ASoC: Fix build for corgi and poodle

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 59544d33
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/i2c.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/gpio.h> #include <linux/gpio.h>
...@@ -365,7 +366,7 @@ static int __init corgi_init(void) ...@@ -365,7 +366,7 @@ static int __init corgi_init(void)
machine_is_husky())) machine_is_husky()))
return -ENODEV; return -ENODEV;
ret = wm8731_i2c_setup(); ret = wm8731_i2c_register();
if (ret != 0) if (ret != 0)
return ret; return ret;
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/i2c.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <sound/core.h> #include <sound/core.h>
...@@ -330,7 +331,7 @@ static int __init poodle_init(void) ...@@ -330,7 +331,7 @@ static int __init poodle_init(void)
if (!machine_is_poodle()) if (!machine_is_poodle())
return -ENODEV; return -ENODEV;
ret = wm8731_i2c_setup(); ret = wm8731_i2c_register();
if (ret != 0) if (ret != 0)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment