diff options
author | Bard Liao <bardliao@realtek.com> | 2015-04-30 10:30:01 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-30 10:45:50 +0100 |
commit | d5660422cac455346e35631654c99187cf53f088 (patch) | |
tree | 5cf7df194aa4823c71c0863548340e0ad85056c4 /sound/soc/codecs/rt5645.c | |
parent | 6e747d5311fc67b5fe7e2d7d242329c1bdff3318 (diff) | |
download | lwn-d5660422cac455346e35631654c99187cf53f088.tar.gz lwn-d5660422cac455346e35631654c99187cf53f088.zip |
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>
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
-rw-r--r-- | sound/soc/codecs/rt5645.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 16de9ba3a08d..346ac45bfb68 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) |