Skip to content

Commit

Permalink
[ALSA] sound: fix atiixp section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Jaroslav Kysela committed Jan 31, 2008
1 parent e4d7681 commit 32a41b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/atiixp.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ static int snd_atiixp_aclink_down(struct atiixp *chip)
ATI_REG_ISR_CODEC2_NOT_READY)
#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;

Expand All @@ -573,7 +573,7 @@ static int ac97_probing_bugs(struct pci_dev *pci)
return -1;
}

static int snd_atiixp_codec_detect(struct atiixp *chip)
static int __devinit snd_atiixp_codec_detect(struct atiixp *chip)
{
int timeout;

Expand Down

0 comments on commit 32a41b0

Please sign in to comment.