Explorar o código

ALSA: lx6464es: 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>
Bhumika Goyal %!s(int64=8) %!d(string=hai) anos
pai
achega
033bb5676d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/pci/lx6464es/lx6464es.c

+ 1 - 1
sound/pci/lx6464es/lx6464es.c

@@ -77,7 +77,7 @@ MODULE_DEVICE_TABLE(pci, snd_lx6464es_ids);
 
 
 /* alsa callbacks */
-static struct snd_pcm_hardware lx_caps = {
+static const struct snd_pcm_hardware lx_caps = {
 	.info             = (SNDRV_PCM_INFO_MMAP |
 			     SNDRV_PCM_INFO_INTERLEAVED |
 			     SNDRV_PCM_INFO_MMAP_VALID |