Commit 5be55be5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jaroslav Kysela

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 7c4dbbd8
...@@ -144,7 +144,7 @@ static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, ...@@ -144,7 +144,7 @@ static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97,
return snd_cs5535audio_codec_read(cs5535au, reg); return snd_cs5535audio_codec_read(cs5535au, reg);
} }
static int snd_cs5535audio_mixer(struct cs5535audio *cs5535au) static int __devinit snd_cs5535audio_mixer(struct cs5535audio *cs5535au)
{ {
struct snd_card *card = cs5535au->card; struct snd_card *card = cs5535au->card;
struct snd_ac97_bus *pbus; struct snd_ac97_bus *pbus;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment