[2.5 patch] fix .text.exit error in OSS awe_wave.c

From: Adrian Bunk (bunk@fs.tum.de)
Date: Thu Mar 20 2003 - 10:31:35 EST


I got a .exit.text error in 2.5.65.

The problem is that in sound/oss/awe_wave.c the __init function
_attach_awe calls the __exit function awe_release_region.

The following patch that removes the __exit from awe_release_region
fixes it:

--- linux-2.5.65-notfull/sound/oss/awe_wave.c.old 2003-03-20 16:09:19.000000000 +0100
+++ linux-2.5.65-notfull/sound/oss/awe_wave.c 2003-03-20 16:09:40.000000000 +0100
@@ -757,7 +757,7 @@
         return 0;
 }
 
-static void __exit
+static void
 awe_release_region(void)
 {
         if (! port_setuped) return;

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:31 EST