diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-08-22 15:58:15 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-08-22 16:08:00 +0200 |
commit | 782fbec745d84fa06708e703a92a431c4344daf0 (patch) | |
tree | bd15cc4bbea9eb7ed05bf9c44a1f995fc2373721 /sound/firewire/motu/motu.c | |
parent | Merge branch 'for-linus' into for-next (diff) | |
download | linux-782fbec745d84fa06708e703a92a431c4344daf0.tar.xz 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/motu/motu.c')
-rw-r--r-- | sound/firewire/motu/motu.c | 6 |
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) snd_motu_transaction_reregister(motu); } -static struct snd_motu_spec motu_828mk2 = { +static const struct snd_motu_spec motu_828mk2 = { .name = "828mk2", .protocol = &snd_motu_protocol_v2, .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 | @@ -208,7 +208,7 @@ static struct snd_motu_spec motu_828mk2 = { .analog_out_ports = 8, }; -static struct snd_motu_spec motu_828mk3 = { +static const struct snd_motu_spec motu_828mk3 = { .name = "828mk3", .protocol = &snd_motu_protocol_v3, .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 | @@ -225,7 +225,7 @@ static struct snd_motu_spec motu_828mk3 = { .analog_out_ports = 8, }; -static struct snd_motu_spec motu_audio_express = { +static const struct snd_motu_spec motu_audio_express = { .name = "AudioExpress", .protocol = &snd_motu_protocol_v3, .flags = SND_MOTU_SPEC_SUPPORT_CLOCK_X2 | |