diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-05 15:15:01 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-05 16:19:39 +0400 |
commit | 1464189f8c2a5341722437ef916786afaf241c44 (patch) | |
tree | 8a880a5e7cbb4fa5baae9a8d1cf3d8d21aac6190 /include | |
parent | da185443c12f5ef7416af50293833a5654854186 (diff) | |
download | linux-1464189f8c2a5341722437ef916786afaf241c44.tar.xz |
ALSA: pcm: Make constraints lists const
They aren't modified by the core so the drivers can declare them const.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/pcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index 68372bc1e11b..e91e6047ca6f 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -810,7 +810,7 @@ int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_pa int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, - struct snd_pcm_hw_constraint_list *l); + const struct snd_pcm_hw_constraint_list *l); int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, |