diff options
author | Joe Perches <joe@perches.com> | 2015-04-04 22:38:25 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-05 08:41:05 +0200 |
commit | eab0fbfa41040f4f76b173cad17c0c8ed40cba33 (patch) | |
tree | 1c7764baebbae8d1c22f6d1fa26cb96c91d4334a /sound/pci/ac97 | |
parent | ALSA: hda: fix possible null dereference (diff) | |
download | linux-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/ac97')
-rw-r--r-- | sound/pci/ac97/ac97_codec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 5bca1a33fed6..82259ca61e64 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c @@ -2902,7 +2902,8 @@ static int apply_quirk_str(struct snd_ac97 *ac97, const char *typestr) * Return: Zero if successful, or a negative error code on failure. */ -int snd_ac97_tune_hardware(struct snd_ac97 *ac97, struct ac97_quirk *quirk, const char *override) +int snd_ac97_tune_hardware(struct snd_ac97 *ac97, + const struct ac97_quirk *quirk, const char *override) { int result; |