[PATCH] awe_wave (OSS): too much __exit

From: Randy.Dunlap
Date: Wed Aug 04 2004 - 01:13:39 EST



'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@xxxxxxxx>


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);


--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/