]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: opti9xx: Fix section mismatch by PM support
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2012 10:14:17 +0000 (12:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2012 10:15:49 +0000 (12:15 +0200)
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>
sound/isa/opti9xx/opti92x-ad1848.c

index d7ce0125dcf2ef6cade303d9580656ecb7406142..f8fbe22515c99b627885fa3c05da815514777f4e 100644 (file)
@@ -348,7 +348,7 @@ static void snd_opti9xx_write(struct snd_opti9xx *chip, unsigned char reg,
                (snd_opti9xx_read(chip, reg) & ~(mask)) | ((value) & (mask)))
 
 
-static int __devinit snd_opti9xx_configure(struct snd_opti9xx *chip,
+static int snd_opti9xx_configure(struct snd_opti9xx *chip,
                                           long port,
                                           int irq, int dma1, int dma2,
                                           long mpu_port, int mpu_irq)