diff options
Diffstat (limited to 'sound/soc/codecs/max98095.c')
-rw-r--r-- | sound/soc/codecs/max98095.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c index 35179e2c23c9..7cd508e16a5c 100644 --- a/sound/soc/codecs/max98095.c +++ b/sound/soc/codecs/max98095.c | |||
@@ -2216,7 +2216,7 @@ static irqreturn_t max98095_report_jack(int irq, void *data) | |||
2216 | return IRQ_HANDLED; | 2216 | return IRQ_HANDLED; |
2217 | } | 2217 | } |
2218 | 2218 | ||
2219 | int max98095_jack_detect_enable(struct snd_soc_codec *codec) | 2219 | static int max98095_jack_detect_enable(struct snd_soc_codec *codec) |
2220 | { | 2220 | { |
2221 | struct max98095_priv *max98095 = snd_soc_codec_get_drvdata(codec); | 2221 | struct max98095_priv *max98095 = snd_soc_codec_get_drvdata(codec); |
2222 | int ret = 0; | 2222 | int ret = 0; |
@@ -2245,7 +2245,7 @@ int max98095_jack_detect_enable(struct snd_soc_codec *codec) | |||
2245 | return ret; | 2245 | return ret; |
2246 | } | 2246 | } |
2247 | 2247 | ||
2248 | int max98095_jack_detect_disable(struct snd_soc_codec *codec) | 2248 | static int max98095_jack_detect_disable(struct snd_soc_codec *codec) |
2249 | { | 2249 | { |
2250 | int ret = 0; | 2250 | int ret = 0; |
2251 | 2251 | ||
@@ -2286,6 +2286,7 @@ int max98095_jack_detect(struct snd_soc_codec *codec, | |||
2286 | max98095_report_jack(client->irq, codec); | 2286 | max98095_report_jack(client->irq, codec); |
2287 | return 0; | 2287 | return 0; |
2288 | } | 2288 | } |
2289 | EXPORT_SYMBOL_GPL(max98095_jack_detect); | ||
2289 | 2290 | ||
2290 | #ifdef CONFIG_PM | 2291 | #ifdef CONFIG_PM |
2291 | static int max98095_suspend(struct snd_soc_codec *codec) | 2292 | static int max98095_suspend(struct snd_soc_codec *codec) |