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 @@
#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;
......
......@@ -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;
......
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