summaryrefslogtreecommitdiff
path: root/sound/pci/ac97/ac97_codec.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-04 13:38:25 -0700
committerTakashi Iwai <tiwai@suse.de>2015-04-05 08:41:05 +0200
commiteab0fbfa41040f4f76b173cad17c0c8ed40cba33 (patch)
tree1c7764baebbae8d1c22f6d1fa26cb96c91d4334a /sound/pci/ac97/ac97_codec.c
parent751e2216899cb143fe1d5909fe762870faa945f6 (diff)
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/ac97_codec.c')
-rw-r--r--sound/pci/ac97/ac97_codec.c3
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;