diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-01-16 08:55:07 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:00 -0500 |
commit | 32a41b026e65e9430a8c24f5d400cc21d44a897d (patch) | |
tree | 2e1381f5195574fc93b2b7bf320d379471a0ca15 /sound | |
parent | e4d76815c2d6477f4b77f1c7dbfbde113af89e67 (diff) |
[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: 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')
-rw-r--r-- | sound/pci/atiixp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index e9c87f5966b3..4594186b83ee 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c | |||
@@ -559,7 +559,7 @@ static int snd_atiixp_aclink_down(struct atiixp *chip) | |||
559 | ATI_REG_ISR_CODEC2_NOT_READY) | 559 | ATI_REG_ISR_CODEC2_NOT_READY) |
560 | #define CODEC_CHECK_BITS (ALL_CODEC_NOT_READY|ATI_REG_ISR_NEW_FRAME) | 560 | #define CODEC_CHECK_BITS (ALL_CODEC_NOT_READY|ATI_REG_ISR_NEW_FRAME) |
561 | 561 | ||
562 | static int ac97_probing_bugs(struct pci_dev *pci) | 562 | static int __devinit ac97_probing_bugs(struct pci_dev *pci) |
563 | { | 563 | { |
564 | const struct snd_pci_quirk *q; | 564 | const struct snd_pci_quirk *q; |
565 | 565 | ||
@@ -573,7 +573,7 @@ static int ac97_probing_bugs(struct pci_dev *pci) | |||
573 | return -1; | 573 | return -1; |
574 | } | 574 | } |
575 | 575 | ||
576 | static int snd_atiixp_codec_detect(struct atiixp *chip) | 576 | static int __devinit snd_atiixp_codec_detect(struct atiixp *chip) |
577 | { | 577 | { |
578 | int timeout; | 578 | int timeout; |
579 | 579 | ||