summaryrefslogtreecommitdiffstats
path: root/sound/pci/ad1889.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-04 22:38:25 +0200
committerTakashi Iwai <tiwai@suse.de>2015-04-05 08:41:05 +0200
commiteab0fbfa41040f4f76b173cad17c0c8ed40cba33 (patch)
tree1c7764baebbae8d1c22f6d1fa26cb96c91d4334a /sound/pci/ad1889.c
parentALSA: hda: fix possible null dereference (diff)
downloadlinux-eab0fbfa41040f4f76b173cad17c0c8ed40cba33.tar.xz
linux-eab0fbfa41040f4f76b173cad17c0c8ed40cba33.zip
ALSA: Use const struct ac97_quirk
Use const to reduce data by ~3Kb. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r--sound/pci/ad1889.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c
index 850a8c984c25..66ddd981d1d5 100644
--- a/sound/pci/ad1889.c
+++ b/sound/pci/ad1889.c
@@ -747,7 +747,7 @@ snd_ad1889_proc_init(struct snd_ad1889 *chip)
snd_info_set_text_ops(entry, chip, snd_ad1889_proc_read);
}
-static struct ac97_quirk ac97_quirks[] = {
+static const struct ac97_quirk ac97_quirks[] = {
{
.subvendor = 0x11d4, /* AD */
.subdevice = 0x1889, /* AD1889 */