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/pod.c | |
parent | 4f8ce9821ecd3aca758a52f7dbb6146b8bdcb71c (diff) | |
download | linux-37cc306b723f94d2be73578069ed1e88e1a30cdb.tar.bz2 |
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/pod.c')
-rw-r--r-- | sound/usb/line6/pod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/pod.c b/sound/usb/line6/pod.c index ee4c9d220fdf..cd44cb5f1310 100644 --- a/sound/usb/line6/pod.c +++ b/sound/usb/line6/pod.c @@ -110,7 +110,7 @@ enum { POD_BUSY_MIDISEND }; -static struct snd_ratden pod_ratden = { +static const struct snd_ratden pod_ratden = { .num_min = 78125, .num_max = 78125, .num_step = 1, |