summaryrefslogtreecommitdiffstats
path: root/include/sound
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 /include/sound
parent751e2216899cb143fe1d5909fe762870faa945f6 (diff)
downloadop-kernel-dev-eab0fbfa41040f4f76b173cad17c0c8ed40cba33.zip
op-kernel-dev-eab0fbfa41040f4f76b173cad17c0c8ed40cba33.tar.gz
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 'include/sound')
-rw-r--r--include/sound/ac97_codec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index d315a08..0e9d75b 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -608,7 +608,9 @@ struct ac97_quirk {
int type; /* quirk type above */
};
-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 snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate);
/*
OpenPOWER on IntegriCloud