summaryrefslogtreecommitdiffstats
path: root/sound/usb/line6/podhd.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-03 09:17:06 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-03 09:24:40 +0100
commit37cc306b723f94d2be73578069ed1e88e1a30cdb (patch)
tree0037151352c68445bff29704b41ce435dc48c52c /sound/usb/line6/podhd.c
parent4f8ce9821ecd3aca758a52f7dbb6146b8bdcb71c (diff)
downloadlinux-stable-37cc306b723f94d2be73578069ed1e88e1a30cdb.tar.gz
linux-stable-37cc306b723f94d2be73578069ed1e88e1a30cdb.tar.bz2
linux-stable-37cc306b723f94d2be73578069ed1e88e1a30cdb.zip
ALSA: line6: Constify snd_ratden definitions
The snd_ratden definitions used in line6 drivers are all read-only, so they can be marked as const. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-51-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/podhd.c')
-rw-r--r--sound/usb/line6/podhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c
index 27bf61c177c0..d37db32ecd3b 100644
--- a/sound/usb/line6/podhd.c
+++ b/sound/usb/line6/podhd.c
@@ -42,7 +42,7 @@ struct usb_line6_podhd {
#define line6_to_podhd(x) container_of(x, struct usb_line6_podhd, line6)
-static struct snd_ratden podhd_ratden = {
+static const struct snd_ratden podhd_ratden = {
.num_min = 48000,
.num_max = 48000,
.num_step = 1,