Skip to content

Commit a5ec377

Browse files
jwrdegoedebroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 0aeb17d commit a5ec377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/intel/boards/bytcr_rt5640.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ static const struct acpi_gpio_mapping byt_rt5640_hp_elitepad_1000g2_gpios[] = {
490490
{ },
491491
};
492492

493-
int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data)
493+
static int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data)
494494
{
495495
struct byt_rt5640_private *priv = data;
496496
int jack_status, mic_status;
@@ -506,7 +506,7 @@ int byt_rt5640_hp_elitepad_1000g2_jack1_check(void *data)
506506
return SND_JACK_HEADSET;
507507
}
508508

509-
int byt_rt5640_hp_elitepad_1000g2_jack2_check(void *data)
509+
static int byt_rt5640_hp_elitepad_1000g2_jack2_check(void *data)
510510
{
511511
struct snd_soc_component *component = data;
512512
int jack_status, report;

0 commit comments

Comments
 (0)