diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-01-23 05:52:06 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:12 -0500 |
commit | 5be55be58c3255cf0b19c936353d4f6cebc38e4a (patch) | |
tree | fc512e9df012fd908f4f91aa37872bfdd3b3a7ef /sound/pci | |
parent | 7c4dbbd87c0dc62849f0f72449464dc37da0a82a (diff) |
[ALSA] fix cs5535 section mismatch
snd_cs5535audio_mixer() is only called by __devinit snd_cs5535audio_probe(),
so the mixer function can also be __devinit.
WARNING: vmlinux.o(.text+0xfdbba0): Section mismatch: reference to .init.data:ac97_quirks (between 'snd_cs5535audio_mixer' and 'process_bm0_irq')
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c index a0c54f0a265f..1d8b16052535 100644 --- a/sound/pci/cs5535audio/cs5535audio.c +++ b/sound/pci/cs5535audio/cs5535audio.c | |||
@@ -144,7 +144,7 @@ static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, | |||
144 | return snd_cs5535audio_codec_read(cs5535au, reg); | 144 | return snd_cs5535audio_codec_read(cs5535au, reg); |
145 | } | 145 | } |
146 | 146 | ||
147 | static int snd_cs5535audio_mixer(struct cs5535audio *cs5535au) | 147 | static int __devinit snd_cs5535audio_mixer(struct cs5535audio *cs5535au) |
148 | { | 148 | { |
149 | struct snd_card *card = cs5535au->card; | 149 | struct snd_card *card = cs5535au->card; |
150 | struct snd_ac97_bus *pbus; | 150 | struct snd_ac97_bus *pbus; |