sharkcz / rpms / kernel

Forked from rpms/kernel 6 years ago
Clone
Bastien Nocera 301ce22
From 24dad509ed5528bbbe31ff17f9fb39c0473ec8f4 Mon Sep 17 00:00:00 2001
Bastien Nocera 301ce22
From: Vinod Koul <vinod.koul@intel.com>
Bastien Nocera 301ce22
Date: Fri, 8 Jul 2016 18:30:18 +0530
Bastien Nocera 301ce22
Subject: ASoC: Intel: atom: statify cht_quirk
Bastien Nocera 301ce22
Bastien Nocera 301ce22
Sparse rightly warns:
Bastien Nocera 301ce22
sound/soc/intel/atom/sst/sst_acpi.c:353:22: warning: symbol 'cht_quirk' was not declared. Should it be static?
Bastien Nocera 301ce22
Bastien Nocera 301ce22
So statify this
Bastien Nocera 301ce22
Bastien Nocera 301ce22
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Bastien Nocera 301ce22
Signed-off-by: Mark Brown <broonie@kernel.org>
Bastien Nocera 301ce22
---
Bastien Nocera 301ce22
 sound/soc/intel/atom/sst/sst_acpi.c | 2 +-
Bastien Nocera 301ce22
 1 file changed, 1 insertion(+), 1 deletion(-)
Bastien Nocera 301ce22
Bastien Nocera 301ce22
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c
Bastien Nocera 301ce22
index 82a374d..4d31849 100644
Bastien Nocera 301ce22
--- a/sound/soc/intel/atom/sst/sst_acpi.c
Bastien Nocera 301ce22
+++ b/sound/soc/intel/atom/sst/sst_acpi.c
Bastien Nocera 301ce22
@@ -350,7 +350,7 @@ static struct sst_acpi_mach cht_surface_mach = {
Bastien Nocera 301ce22
 	"10EC5640", "cht-bsw-rt5645", "intel/fw_sst_22a8.bin", "cht-bsw", NULL,
Bastien Nocera 301ce22
 								&chv_platform_data };
Bastien Nocera 301ce22
 
Bastien Nocera 301ce22
-struct sst_acpi_mach *cht_quirk(void *arg)
Bastien Nocera 301ce22
+static struct sst_acpi_mach *cht_quirk(void *arg)
Bastien Nocera 301ce22
 {
Bastien Nocera 301ce22
 	struct sst_acpi_mach *mach = arg;
Bastien Nocera 301ce22
 
Bastien Nocera 301ce22
-- 
Bastien Nocera 301ce22
cgit v0.12
Bastien Nocera 301ce22