summaryrefslogtreecommitdiffstats
path: root/sound/firewire/motu
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2017-08-22 09:58:15 -0400
committerTakashi Iwai <tiwai@suse.de>2017-08-22 10:08:00 -0400
commit782fbec745d84fa06708e703a92a431c4344daf0 (patch)
treebd15cc4bbea9eb7ed05bf9c44a1f995fc2373721 /sound/firewire/motu
parent241bc82e62b28fdb7223b85180fd814f4963c971 (diff)
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/motu')
-rw-r--r--sound/firewire/motu/motu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/firewire/motu/motu.c b/sound/firewire/motu/motu.c
index 2bbb764822fc..0d6b526105ab 100644
--- a/sound/firewire/motu/motu.c
+++ b/sound/firewire/motu/motu.c
@@ -194,7 +194,7 @@ static void motu_bus_update(struct fw_unit *unit)
194 snd_motu_transaction_reregister(motu); 194 snd_motu_transaction_reregister(motu);
195} 195}
196 196
197static struct snd_motu_spec motu_828mk2 = { 197static const struct snd_motu_spec motu_828mk2 = {
198 .name = "828mk2", 198 .name = "828mk2",
199 .protocol = &snd_motu_protocol_v2, 199 .protocol = &snd_motu_protocol_v2,
200 .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 | 200 .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 |
@@ -208,7 +208,7 @@ static struct snd_motu_spec motu_828mk2 = {
208 .analog_out_ports = 8, 208 .analog_out_ports = 8,
209}; 209};
210 210
211static struct snd_motu_spec motu_828mk3 = { 211static const struct snd_motu_spec motu_828mk3 = {
212 .name = "828mk3", 212 .name = "828mk3",
213 .protocol = &snd_motu_protocol_v3, 213 .protocol = &snd_motu_protocol_v3,
214 .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 | 214 .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 |
@@ -225,7 +225,7 @@ static struct snd_motu_spec motu_828mk3 = {
225 .analog_out_ports = 8, 225 .analog_out_ports = 8,
226}; 226};
227 227
228static struct snd_motu_spec motu_audio_express = { 228static const struct snd_motu_spec motu_audio_express = {
229 .name = "AudioExpress", 229 .name = "AudioExpress",
230 .protocol = &snd_motu_protocol_v3, 230 .protocol = &snd_motu_protocol_v3,
231 .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 | 231 .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 |