diff options
Diffstat (limited to 'sound/soc/omap/gta04-voice.c')
-rw-r--r-- | sound/soc/omap/gta04-voice.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/omap/gta04-voice.c b/sound/soc/omap/gta04-voice.c index 4c475edf..dcc81cf 100644 --- a/sound/soc/omap/gta04-voice.c +++ b/sound/soc/omap/gta04-voice.c @@ -16,6 +16,7 @@ */ #include <linux/platform_device.h> +#include <linux/module.h> #include <sound/core.h> #include <sound/pcm.h> @@ -83,11 +84,12 @@ static int gta04_voice_hw_params(struct snd_pcm_substream *substream, return 0; } -static int gta04_voice_init(struct snd_soc_codec *codec) +static int gta04_voice_init(struct snd_soc_pcm_runtime *runtime) { /* add controls */ /* add routes */ /* setup pins */ + struct snd_soc_codec *codec = runtime->codec; struct snd_soc_dapm_context *dapm = &codec->dapm; snd_soc_dapm_sync(dapm); return 0; |