提交 32a41b02 编写于 作者: R Randy Dunlap 提交者: Jaroslav Kysela

[ALSA] sound: fix atiixp section mismatch

Fix section mismatch in atiixp by making some functions __devinit.
WARNING: vmlinux.o(.text+0xfd9304): Section mismatch: reference to .init.data:atiixp_quirks (between 'ac97_probing_bugs' and 'snd_atiixp_codec_detect')
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 e4d76815
无相关合并请求
...@@ -559,7 +559,7 @@ static int snd_atiixp_aclink_down(struct atiixp *chip) ...@@ -559,7 +559,7 @@ static int snd_atiixp_aclink_down(struct atiixp *chip)
ATI_REG_ISR_CODEC2_NOT_READY) ATI_REG_ISR_CODEC2_NOT_READY)
#define CODEC_CHECK_BITS (ALL_CODEC_NOT_READY|ATI_REG_ISR_NEW_FRAME) #define CODEC_CHECK_BITS (ALL_CODEC_NOT_READY|ATI_REG_ISR_NEW_FRAME)
static int ac97_probing_bugs(struct pci_dev *pci) static int __devinit ac97_probing_bugs(struct pci_dev *pci)
{ {
const struct snd_pci_quirk *q; const struct snd_pci_quirk *q;
...@@ -573,7 +573,7 @@ static int ac97_probing_bugs(struct pci_dev *pci) ...@@ -573,7 +573,7 @@ static int ac97_probing_bugs(struct pci_dev *pci)
return -1; return -1;
} }
static int snd_atiixp_codec_detect(struct atiixp *chip) static int __devinit snd_atiixp_codec_detect(struct atiixp *chip)
{ {
int timeout; int timeout;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部