From: Jens Axboe <axboe@suse.de>
To: linux-kernel@vger.kernel.org
Cc: tiwai@suse.de
Subject: [PATCH] fix via82xx resume
Date: Tue, 26 Apr 2005 11:06:44 +0200 [thread overview]
Message-ID: <20050426090643.GA2608@suse.de> (raw)
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
reply other threads:[~2005-04-26 9:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050426090643.GA2608@suse.de \
--to=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.