|
@@ -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);
|
|
|
}
|
|
|
|