Skip to contentSkip to conversation

fix via82xx resume

PATCH New Jens Axboe 1 participant 1 message Apr 26, 2005 Sound

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

PATCH 1/1 fix via82xx resume

Hi,

Trying software suspend on my workstation makes it crash on resume. The problem is that via82xx marks the chip_init function as _devinit, but calls it on resume as well.

sound/pci/via82xx.c (mode:100644) renamed from sound/pci/via82xx.c (mode:100644 sha1:f1ce808501da54e60039fd5a9ab99af30d77a0c5) +1 -1
Index: sound/pci/via82xx.c
===================================================================
@@ -1836,7 +1836,7 @@
  *
  */
 
-static int __devinit snd_via82xx_chip_init(via82xx_t *chip)
+static int snd_via82xx_chip_init(via82xx_t *chip)
 {
 	unsigned int val;
 	int max_count;
Signature · 1 line
Jens Axboe