Commit c274d967 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: emu10k1: Constify snd_emu_chip_details

The snd_emu_chip_details definitions are referred as read-only, hence
they can be declared as const gracefully.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-55-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent baa9df20
...@@ -1283,7 +1283,7 @@ static int snd_emu10k1_dev_free(struct snd_device *device) ...@@ -1283,7 +1283,7 @@ static int snd_emu10k1_dev_free(struct snd_device *device)
return snd_emu10k1_free(emu); return snd_emu10k1_free(emu);
} }
static struct snd_emu_chip_details emu_chip_details[] = { static const struct snd_emu_chip_details emu_chip_details[] = {
/* Audigy 5/Rx SB1550 */ /* Audigy 5/Rx SB1550 */
/* Tested by michael@gernoth.net 28 Mar 2015 */ /* Tested by michael@gernoth.net 28 Mar 2015 */
/* DSP: CA10300-IAT LF /* DSP: CA10300-IAT LF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment