mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
ALSA: pcxhr: make snd_pcm_hardware const
Make this const as it is only used during a copy operation. Done using Coccinelle Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
4f8f04e8bd
commit
ecc6a044eb
1 changed files with 1 additions and 1 deletions
|
@ -986,7 +986,7 @@ static int pcxhr_hw_free(struct snd_pcm_substream *subs)
|
||||||
/*
|
/*
|
||||||
* CONFIGURATION SPACE for all pcms, mono pcm must update channels_max
|
* CONFIGURATION SPACE for all pcms, mono pcm must update channels_max
|
||||||
*/
|
*/
|
||||||
static struct snd_pcm_hardware pcxhr_caps =
|
static const struct snd_pcm_hardware pcxhr_caps =
|
||||||
{
|
{
|
||||||
.info = (SNDRV_PCM_INFO_MMAP |
|
.info = (SNDRV_PCM_INFO_MMAP |
|
||||||
SNDRV_PCM_INFO_INTERLEAVED |
|
SNDRV_PCM_INFO_INTERLEAVED |
|
||||||
|
|
Loading…
Add table
Reference in a new issue