Skip to contentSkip to conversation

ASoC: rt5645: fix implicit declaration error

PATCH Applied Bard Liao 2 participants 2 messages Apr 30, 2015

Subsystems (3)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 ASoC: rt5645: fix implicit declaration error

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

---
 sound/soc/codecs/rt5645.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/codecs/rt5645.c +2 -0
index a81a24f..8bad9fe 100644
@@ -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)
Signature · 1 line
1.8.1.1.439.g50a6b54
maintainer Applied
#1 lore raw
Quoted 2 lines · Bard Liao

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

Applied, thanks.