diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-03 09:17:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-03 09:24:40 +0100 |
commit | 37cc306b723f94d2be73578069ed1e88e1a30cdb (patch) | |
tree | 0037151352c68445bff29704b41ce435dc48c52c /sound/usb/line6/podhd.c | |
parent | 4f8ce9821ecd3aca758a52f7dbb6146b8bdcb71c (diff) | |
download | lwn-37cc306b723f94d2be73578069ed1e88e1a30cdb.tar.gz lwn-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.c | 2 |
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, |