From: Mark Brown Date: Wed, 18 Feb 2009 12:34:53 +0000 (+0000) Subject: ASoC: Fix build for corgi and poodle X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc9967576829a01c98e5388410dc12c61006f79f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ASoC: Fix build for corgi and poodle Signed-off-by: Mark Brown --- 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 @@ #include #include #include +#include #include #include #include @@ -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; 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 @@ #include #include #include +#include #include #include #include @@ -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;