未验证 提交 a5ec3771 编写于 作者: H Hans de Goede 提交者: Mark Brown

ASoC: Intel: bytcr_rt5640: Mark hp_elitepad_1000g2_jack?_check functions static

The byt_rt5640_hp_elitepad_1000g2_jack?_check functions are only
used inside bytcr_rt5640.c, mark them as static.
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210823110432.64860-1-hdegoede@redhat.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 0aeb17d1
...@@ -490,7 +490,7 @@ static const struct acpi_gpio_mapping byt_rt5640_hp_elitepad_1000g2_gpios[] = { ...@@ -490,7 +490,7 @@ static const struct acpi_gpio_mapping byt_rt5640_hp_elitepad_1000g2_gpios[] = {
{ }, { },
}; };
int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data) static int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data)
{ {
struct byt_rt5640_private *priv = data; struct byt_rt5640_private *priv = data;
int jack_status, mic_status; int jack_status, mic_status;
...@@ -506,7 +506,7 @@ int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data) ...@@ -506,7 +506,7 @@ int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data)
return SND_JACK_HEADSET; return SND_JACK_HEADSET;
} }
int byt_rt5640_hp_elitepad_1000g2_jack2_check(void *data) static int byt_rt5640_hp_elitepad_1000g2_jack2_check(void *data)
{ {
struct snd_soc_component *component = data; struct snd_soc_component *component = data;
int jack_status, report; int jack_status, report;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册