* [PATCH] awe_wave (OSS): too much __exit
@ 2004-08-04 5:49 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-08-04 5:49 UTC (permalink / raw)
To: lkml; +Cc: akpm
'make buildcheck' indicates that these functions should not be
in an __exit section, so undo that. Yes, they can be called
from .text.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
sound/oss/awe_wave.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Naurp ./sound/oss/awe_wave.c~awe_exit ./sound/oss/awe_wave.c
--- ./sound/oss/awe_wave.c~awe_exit 2004-06-15 22:19:13.000000000 -0700
+++ ./sound/oss/awe_wave.c 2004-08-03 21:42:04.556691656 -0700
@@ -4130,7 +4130,7 @@ static void __init attach_mixer(void)
}
}
-static void __exit unload_mixer(void)
+static void unload_mixer(void)
{
if (my_mixerdev >= 0)
sound_unload_mixerdev(my_mixerdev);
@@ -4968,7 +4968,7 @@ static void __init attach_midiemu(void)
midi_devs[my_mididev] = &awe_midi_operations;
}
-static void __exit unload_midiemu(void)
+static void unload_midiemu(void)
{
if (my_mididev >= 0)
sound_unload_mididev(my_mididev);
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-04 6:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 5:49 [PATCH] awe_wave (OSS): too much __exit Randy.Dunlap
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®