summaryrefslogtreecommitdiffstats
path: root/sound/sparc/amd7930.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-17 14:45:58 +0530
committerTakashi Iwai <tiwai@suse.de>2017-08-17 12:44:21 +0200
commit688ed206e16e13973cfb9e4d10c6a75768ebfd48 (patch)
tree84edefb2f0da6292e01c65d4fbea43ae1986150d /sound/sparc/amd7930.c
parentcd196fe2d6e0921ebc521fca5d51be144e8ea241 (diff)
downloadop-kernel-dev-688ed206e16e13973cfb9e4d10c6a75768ebfd48.zip
op-kernel-dev-688ed206e16e13973cfb9e4d10c6a75768ebfd48.tar.gz
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/amd7930.c')
-rw-r--r--sound/sparc/amd7930.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 35c1f6a..a6864fd 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -666,7 +666,7 @@ static snd_pcm_uframes_t snd_amd7930_capture_pointer(struct snd_pcm_substream *s
}
/* Playback and capture have identical properties. */
-static struct snd_pcm_hardware snd_amd7930_pcm_hw =
+static const struct snd_pcm_hardware snd_amd7930_pcm_hw =
{
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID |
OpenPOWER on IntegriCloud