aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-06-19 14:25:31 -0400
committerMark Brown <broonie@kernel.org>2015-07-08 14:24:05 -0400
commit47a7bfc2bc99625e376e59fb01abf779c2d8a7b0 (patch)
tree71eaeaad8d6b7aa63f9b7356fbc72b274a525050
parent9569909f4dda3810be05223e4deb278b794f309b (diff)
ASoC: intel - atom: fix sst_platform_compr_ops declaration
Sparse complains that sst_platform_compr_ops should be static, but the declaration of this symbol was not correct so declare the symbol as extern in header file sound/soc/intel/atom/sst-mfld-platform-compress.c:257:22: warning: symbol 'sst_platform_compr_ops' was not declared. Should it be static? Signed-off-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/intel/atom/sst-mfld-platform-pcm.c1
-rw-r--r--sound/soc/intel/atom/sst-mfld-platform.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index 641ebe61dc08..683e50116152 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -33,7 +33,6 @@
33 33
34struct sst_device *sst; 34struct sst_device *sst;
35static DEFINE_MUTEX(sst_lock); 35static DEFINE_MUTEX(sst_lock);
36extern struct snd_compr_ops sst_platform_compr_ops;
37 36
38int sst_register_dsp(struct sst_device *dev) 37int sst_register_dsp(struct sst_device *dev)
39{ 38{
diff --git a/sound/soc/intel/atom/sst-mfld-platform.h b/sound/soc/intel/atom/sst-mfld-platform.h
index 2409b23eeacf..cb32cc7e5ec1 100644
--- a/sound/soc/intel/atom/sst-mfld-platform.h
+++ b/sound/soc/intel/atom/sst-mfld-platform.h
@@ -25,6 +25,7 @@
25#include "sst-atom-controls.h" 25#include "sst-atom-controls.h"
26 26
27extern struct sst_device *sst; 27extern struct sst_device *sst;
28extern struct snd_compr_ops sst_platform_compr_ops;
28 29
29#define SST_MONO 1 30#define SST_MONO 1
30#define SST_STEREO 2 31#define SST_STEREO 2