diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-06-19 14:25:30 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-08 14:23:51 -0400 |
commit | 9569909f4dda3810be05223e4deb278b794f309b (patch) | |
tree | 0026cdcd5615fc8b6a24789f5ba74ee206485e42 | |
parent | 13735d1cecec1b3825f6834c74e67f82ab8cfe68 (diff) |
ASoC: intel - atom: statify sst_slot_enum_info
Sparse complains that sst_slot_enum_info should be static, so make it
static
sound/soc/intel/atom/sst-atom-controls.c:135:5: warning: symbol
'sst_slot_enum_info' 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-atom-controls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst-atom-controls.c b/sound/soc/intel/atom/sst-atom-controls.c index 31e9b9ecbb8a..c95bc52dcd74 100644 --- a/sound/soc/intel/atom/sst-atom-controls.c +++ b/sound/soc/intel/atom/sst-atom-controls.c | |||
@@ -132,7 +132,7 @@ static int sst_send_slot_map(struct sst_data *drv) | |||
132 | sizeof(cmd.header) + cmd.header.length); | 132 | sizeof(cmd.header) + cmd.header.length); |
133 | } | 133 | } |
134 | 134 | ||
135 | int sst_slot_enum_info(struct snd_kcontrol *kcontrol, | 135 | static int sst_slot_enum_info(struct snd_kcontrol *kcontrol, |
136 | struct snd_ctl_elem_info *uinfo) | 136 | struct snd_ctl_elem_info *uinfo) |
137 | { | 137 | { |
138 | struct sst_enum *e = (struct sst_enum *)kcontrol->private_value; | 138 | struct sst_enum *e = (struct sst_enum *)kcontrol->private_value; |