diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-17 06:14:17 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-17 06:15:49 -0400 |
commit | 59b1f084abd8690ffe68c67758ad08bbcb7d1af0 (patch) | |
tree | a23e7739c5bc74a08d7ef3ca90ef16ddbda9c020 /sound/isa/opti9xx | |
parent | 5dd250728aa4cad49cfa18eb8ed11ba470ce382a (diff) |
ALSA: opti9xx: Fix section mismatch by PM support
In the previous commit, snd_opti9xx_configure() is called from the
resume handler but it's still marked as __devinit. Fix it.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/opti9xx')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index d7ce0125dcf2..f8fbe22515c9 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -348,7 +348,7 @@ static void snd_opti9xx_write(struct snd_opti9xx *chip, unsigned char reg, | |||
348 | (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask))) | 348 | (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask))) |
349 | 349 | ||
350 | 350 | ||
351 | static int __devinit snd_opti9xx_configure(struct snd_opti9xx *chip, | 351 | static int snd_opti9xx_configure(struct snd_opti9xx *chip, |
352 | long port, | 352 | long port, |
353 | int irq, int dma1, int dma2, | 353 | int irq, int dma1, int dma2, |
354 | long mpu_port, int mpu_irq) | 354 | long mpu_port, int mpu_irq) |