ASoC: rt5645: fix implicit declaration error

kbuild robot reports a implicit declaration of function
'rt5645_irq_detection' error.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Bard Liao 2015-04-30 10:30:01 +08:00 committed by Mark Brown
parent 6e747d5311
commit d5660422ca
1 changed files with 2 additions and 0 deletions

View File

@ -2535,6 +2535,8 @@ static int rt5645_jack_detect(struct snd_soc_codec *codec, int jack_insert)
return rt5645->jack_type;
}
static int rt5645_irq_detection(struct rt5645_priv *rt5645);
int rt5645_set_jack_detect(struct snd_soc_codec *codec,
struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack,
struct snd_soc_jack *btn_jack)