git.codelabs.ch
/
muen
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: hda: constify copied structure
[muen/linux.git]
/
sound
/
pci
/
hda
/
hda_controller.c
diff --git
a/sound/pci/hda/hda_controller.c
b/sound/pci/hda/hda_controller.c
index
a74c858
..
9757667
100644
(file)
--- a/
sound/pci/hda/hda_controller.c
+++ b/
sound/pci/hda/hda_controller.c
@@
-548,7
+548,7
@@
static int azx_get_time_info(struct snd_pcm_substream *substream,
return 0;
}
-static struct snd_pcm_hardware azx_pcm_hw = {
+static
const
struct snd_pcm_hardware azx_pcm_hw = {
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |