diff mbox

ASoC: rt5645: fix implicit declaration error

Message ID 1430361001-17507-1-git-send-email-bardliao@realtek.com (mailing list archive)
State Accepted
Commit d5660422cac455346e35631654c99187cf53f088
Headers show

Commit Message

Bard Liao April 30, 2015, 2:30 a.m. UTC
kbuild robot reports a implicit declaration of function
'rt5645_irq_detection' error.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt5645.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mark Brown April 30, 2015, 9:45 a.m. UTC | #1
On Thu, Apr 30, 2015 at 10:30:01AM +0800, Bard Liao wrote:
> kbuild robot reports a implicit declaration of function
> 'rt5645_irq_detection' error.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index a81a24f..8bad9fe 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -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)