diff options
author | Joe Perches <joe@perches.com> | 2015-04-04 13:38:25 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-05 08:41:05 +0200 |
commit | eab0fbfa41040f4f76b173cad17c0c8ed40cba33 (patch) | |
tree | 1c7764baebbae8d1c22f6d1fa26cb96c91d4334a /include/sound | |
parent | 751e2216899cb143fe1d5909fe762870faa945f6 (diff) | |
download | linux-stable-eab0fbfa41040f4f76b173cad17c0c8ed40cba33.tar.gz linux-stable-eab0fbfa41040f4f76b173cad17c0c8ed40cba33.tar.bz2 linux-stable-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 'include/sound')
-rw-r--r-- | include/sound/ac97_codec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index d315a08d6c6d..0e9d75b49bed 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); /* |