summaryrefslogtreecommitdiffstats
path: root/sound/pci/lx6464es/lx6464es.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-12 21:01:20 +0530
committerTakashi Iwai <tiwai@suse.de>2017-08-12 23:31:48 +0200
commit033bb5676d5961371b8ec130ee9f9f9202ebd263 (patch)
treee1962b59612da22f7c7b04303c18c02ad64e2884 /sound/pci/lx6464es/lx6464es.c
parent5cf84795d3e1b6795a717e7c858a12486ccf760f (diff)
downloadlinux-033bb5676d5961371b8ec130ee9f9f9202ebd263.tar.bz2
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>
Diffstat (limited to 'sound/pci/lx6464es/lx6464es.c')
-rw-r--r--sound/pci/lx6464es/lx6464es.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c
index f9c3e86d55d5..9655b08a1c52 100644
--- a/sound/pci/lx6464es/lx6464es.c
+++ b/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 |