projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf8479
)
ALSA: lx6464es: make snd_pcm_hardware const
author
Bhumika Goyal
<bhumirks@gmail.com>
Sat, 12 Aug 2017 15:31:20 +0000
(21:01 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Aug 2017 21:31:48 +0000
(23:31 +0200)
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>
sound/pci/lx6464es/lx6464es.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/lx6464es/lx6464es.c
b/sound/pci/lx6464es/lx6464es.c
index f9c3e86d55d5515b2b834fc6e0b96410b65c8ecf..9655b08a1c52f194c7b627ba32732dab604f5929 100644
(file)
--- 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 |