* [PATCH] fix via82xx resume
@ 2005-04-26 9:06 Jens Axboe
0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2005-04-26 9:06 UTC (permalink / raw)
To: linux-kernel; +Cc: tiwai
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.
Signed-off-by: Jens Axboe <axboe@suse.de>
Index: sound/pci/via82xx.c
===================================================================
--- 9771aaff44479c8ccac70fd18d1e7394fd9de264/sound/pci/via82xx.c (mode:100644 sha1:f1ce808501da54e60039fd5a9ab99af30d77a0c5)
+++ uncommitted/sound/pci/via82xx.c (mode:100644)
@@ -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;
--
Jens Axboe
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-26 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-26 9:06 [PATCH] fix via82xx resume Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox