]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rt5645: fix implicit declaration error
authorBard Liao <bardliao@realtek.com>
Thu, 30 Apr 2015 02:30:01 +0000 (10:30 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 30 Apr 2015 09:45:50 +0000 (10:45 +0100)
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>
sound/soc/codecs/rt5645.c

index 16de9ba3a08d5f884d318fb683ea6338dae67342..346ac45bfb68d0ab0adf15f229cc7cd9801cd7bd 100644 (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)