[PATCH] ASoC: Intel: bytcr_rt5640: Mark hp_elitepad_1000g2_jack?_check functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
---
 sound/soc/intel/boards/bytcr_rt5640.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
index 2f151ba80be5..05667a33d919 100644
--- a/sound/soc/intel/boards/bytcr_rt5640.c
+++ b/sound/soc/intel/boards/bytcr_rt5640.c
@@ -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;
-- 
2.31.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux