summaryrefslogtreecommitdiffstats
path: root/sound/sparc/dbri.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-17 11:15:58 +0200
committerTakashi Iwai <tiwai@suse.de>2017-08-17 12:44:21 +0200
commit688ed206e16e13973cfb9e4d10c6a75768ebfd48 (patch)
tree84edefb2f0da6292e01c65d4fbea43ae1986150d /sound/sparc/dbri.c
parentALSA: sh: make snd_pcm_hardware const (diff)
downloadlinux-688ed206e16e13973cfb9e4d10c6a75768ebfd48.tar.xz
linux-688ed206e16e13973cfb9e4d10c6a75768ebfd48.zip
ALSA: sparc: make snd_pcm_hardware const
Make these const as they are only used in 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/sparc/dbri.c')
-rw-r--r--sound/sparc/dbri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index 52063b262667..72b6c4a51c51 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -1980,7 +1980,7 @@ static irqreturn_t snd_dbri_interrupt(int irq, void *dev_id)
/****************************************************************************
PCM Interface
****************************************************************************/
-static struct snd_pcm_hardware snd_dbri_pcm_hw = {
+static const struct snd_pcm_hardware snd_dbri_pcm_hw = {
.info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |