From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH] dmasound core fixes
Date: Fri, 29 Aug 2003 16:51:15 +0200 [thread overview]
Message-ID: <200308291451.h7TEpFPG005944@callisto.of.borg> (raw)
Dmasound core fixes from Christoph Hellwig in 2.6.0:
- Some exported symbols are declared __init - in the modular case this is
freed before the other modules can call it..
--- linux-2.4.23-pre1/drivers/sound/dmasound/dmasound_core.c Tue Aug 26 12:22:41 2003
+++ linux-m68k-2.4.23-pre1/drivers/sound/dmasound/dmasound_core.c Wed Aug 27 18:46:28 2003
@@ -374,7 +374,7 @@
release: mixer_release,
};
-static void __init mixer_init(void)
+static void mixer_init(void)
{
#ifndef MODULE
int mixer_unit;
@@ -1339,7 +1339,7 @@
#endif
};
-static int __init sq_init(void)
+static int sq_init(void)
{
#ifndef MODULE
int sq_unit;
@@ -1556,7 +1556,7 @@
release: state_release,
};
-static int __init state_init(void)
+static int state_init(void)
{
#ifndef MODULE
int state_unit;
@@ -1575,7 +1575,7 @@
* This function is called by _one_ chipset-specific driver
*/
-int __init dmasound_init(void)
+int dmasound_init(void)
{
int res ;
#ifdef MODULE
@@ -1646,7 +1646,7 @@
#else /* !MODULE */
-static int __init dmasound_setup(char *str)
+static int dmasound_setup(char *str)
{
int ints[6], size;
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next reply other threads:[~2003-08-29 14:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-29 14:51 Geert Uytterhoeven [this message]
2003-09-05 20:48 Geert Uytterhoeven
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=200308291451.h7TEpFPG005944@callisto.of.borg \
--to=geert@linux-m68k.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®