mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ASoC: max98095: Staticise non-exported functions and export jack detect
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
cd86e3ce30
commit
a265367ccb
1 changed files with 3 additions and 2 deletions
|
@ -2216,7 +2216,7 @@ static irqreturn_t max98095_report_jack(int irq, void *data)
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int max98095_jack_detect_enable(struct snd_soc_codec *codec)
|
static int max98095_jack_detect_enable(struct snd_soc_codec *codec)
|
||||||
{
|
{
|
||||||
struct max98095_priv *max98095 = snd_soc_codec_get_drvdata(codec);
|
struct max98095_priv *max98095 = snd_soc_codec_get_drvdata(codec);
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
@ -2245,7 +2245,7 @@ int max98095_jack_detect_enable(struct snd_soc_codec *codec)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int max98095_jack_detect_disable(struct snd_soc_codec *codec)
|
static int max98095_jack_detect_disable(struct snd_soc_codec *codec)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
@ -2286,6 +2286,7 @@ int max98095_jack_detect(struct snd_soc_codec *codec,
|
||||||
max98095_report_jack(client->irq, codec);
|
max98095_report_jack(client->irq, codec);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(max98095_jack_detect);
|
||||||
|
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
static int max98095_suspend(struct snd_soc_codec *codec)
|
static int max98095_suspend(struct snd_soc_codec *codec)
|
||||||
|
|
Loading…
Reference in a new issue