diff options
author | Joe Perches <joe@perches.com> | 2015-04-04 16:38:25 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-05 02:41:05 -0400 |
commit | eab0fbfa41040f4f76b173cad17c0c8ed40cba33 (patch) | |
tree | 1c7764baebbae8d1c22f6d1fa26cb96c91d4334a /sound/pci/ac97 | |
parent | 751e2216899cb143fe1d5909fe762870faa945f6 (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')
-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) | |||
2902 | * Return: Zero if successful, or a negative error code on failure. | 2902 | * Return: Zero if successful, or a negative error code on failure. |
2903 | */ | 2903 | */ |
2904 | 2904 | ||
2905 | int snd_ac97_tune_hardware(struct snd_ac97 *ac97, struct ac97_quirk *quirk, const char *override) | 2905 | int snd_ac97_tune_hardware(struct snd_ac97 *ac97, |
2906 | const struct ac97_quirk *quirk, const char *override) | ||
2906 | { | 2907 | { |
2907 | int result; | 2908 | int result; |
2908 | 2909 | ||