summaryrefslogtreecommitdiffstats
path: root/sound/firewire/fireworks
diff options
context:
space:
mode:
authorTakashi Sakamoto2017-08-22 15:58:15 +0200
committerTakashi Iwai2017-08-22 16:08:00 +0200
commit782fbec745d84fa06708e703a92a431c4344daf0 (patch)
treebd15cc4bbea9eb7ed05bf9c44a1f995fc2373721 /sound/firewire/fireworks
parentMerge branch 'for-linus' into for-next (diff)
downloadkernel-qcow2-linux-782fbec745d84fa06708e703a92a431c4344daf0.tar.gz
kernel-qcow2-linux-782fbec745d84fa06708e703a92a431c4344daf0.tar.xz
kernel-qcow2-linux-782fbec745d84fa06708e703a92a431c4344daf0.zip
ALSA: firewire: add const qualifier to identifiers for read-only symbols
Drivers in ALSA firewire stack still includes some symbols which can be moved to a section for read-only symbols. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/fireworks')
-rw-r--r--sound/firewire/fireworks/fireworks_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/fireworks/fireworks_proc.c b/sound/firewire/fireworks/fireworks_proc.c
index beb0a0ffee57..9c21f31b8b21 100644
--- a/sound/firewire/fireworks/fireworks_proc.c
+++ b/sound/firewire/fireworks/fireworks_proc.c
@@ -12,7 +12,7 @@
static inline const char*
get_phys_name(struct snd_efw_phys_grp *grp, bool input)
{
- const char *const ch_type[] = {
+ static const char *const ch_type[] = {
"Analog", "S/PDIF", "ADAT", "S/PDIF or ADAT", "Mirroring",
"Headphones", "I2S", "Guitar", "Pirzo Guitar", "Guitar String",
};