summaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-03 09:17:14 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-03 09:24:45 +0100
commit88e540a8764ec0f5fb4a1185fbeb7827fefd3601 (patch)
treefb750cf71269776d340b82c0b8a1b77bc5ab064e /sound/pci/atiixp.c
parenta5dc05e466b054722817e09e9e2867b2c373f570 (diff)
downloadlinux-stable-88e540a8764ec0f5fb4a1185fbeb7827fefd3601.tar.gz
linux-stable-88e540a8764ec0f5fb4a1185fbeb7827fefd3601.tar.bz2
linux-stable-88e540a8764ec0f5fb4a1185fbeb7827fefd3601.zip
ALSA: pci: Constify snd_pci_quirk tables
The snd_pci_quirk tables 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-59-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/atiixp.c')
-rw-r--r--sound/pci/atiixp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index c3281fab365d..4a840734e7a7 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -282,7 +282,7 @@ static const struct pci_device_id snd_atiixp_ids[] = {
MODULE_DEVICE_TABLE(pci, snd_atiixp_ids);
-static struct snd_pci_quirk atiixp_quirks[] = {
+static const struct snd_pci_quirk atiixp_quirks[] = {
SND_PCI_QUIRK(0x105b, 0x0c81, "Foxconn RC4107MA-RS2", 0),
SND_PCI_QUIRK(0x15bd, 0x3100, "DFI RS482", 0),
{ } /* terminator */