mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
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: kernel test robot <lkp@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20210823110432.64860-1-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0aeb17d172
commit
a5ec377133
@ -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;
|
||||
int jack_status, mic_status;
|
||||
@ -506,7 +506,7 @@ int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data)
|
||||
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;
|
||||
int jack_status, report;
|
||||
|
Loading…
Reference in New Issue
Block a user