From 9b57986d9644b6b91e568eb66434342ee29a3ff3 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 5 Jul 2012 12:15:01 +0100 Subject: [PATCH] --- yaml --- r: 316172 b: refs/heads/master c: 1464189f8c2a5341722437ef916786afaf241c44 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/sound/pcm.h | 2 +- trunk/sound/core/pcm_lib.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 2338025e3aab..0b44cfd6a832 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: da185443c12f5ef7416af50293833a5654854186 +refs/heads/master: 1464189f8c2a5341722437ef916786afaf241c44 diff --git a/trunk/include/sound/pcm.h b/trunk/include/sound/pcm.h index 68372bc1e11b..e91e6047ca6f 100644 --- a/trunk/include/sound/pcm.h +++ b/trunk/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, diff --git a/trunk/sound/core/pcm_lib.c b/trunk/sound/core/pcm_lib.c index 8f312fa6c282..7ae671923393 100644 --- a/trunk/sound/core/pcm_lib.c +++ b/trunk/sound/core/pcm_lib.c @@ -1250,10 +1250,10 @@ static int snd_pcm_hw_rule_list(struct snd_pcm_hw_params *params, 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) { return snd_pcm_hw_rule_add(runtime, cond, var, - snd_pcm_hw_rule_list, l, + snd_pcm_hw_rule_list, (void *)l, var, -1); }