mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5 patch] ALSA rme9652: remove __exit from hammerfall_free_buffers
@ 2003-01-06 14:03 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-06 14:03 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: linux-kernel, alsa-devel

Hi Jaroslav,

a mid-november ALSA update from you included a patch that added __exit 
to hammerfall_free_buffers in sound/pci/rme9652/hammerfall_mem.c. This 
patch is wrong since hammerfall_free_buffers is also called from the 
__init function alsa_hammerfall_mem_init resulting in a .exit.text 
linking error when trying to compile this driver statically into the 
kernel.

The following patch removes the __exit:

--- linux-2.5.54/sound/pci/rme9652/hammerfall_mem.c.old	2003-01-06 14:51:42.000000000 +0100
+++ linux-2.5.54/sound/pci/rme9652/hammerfall_mem.c	2003-01-06 14:52:29.000000000 +0100
@@ -178,7 +178,7 @@
 	printk ("Hammerfall memory allocator: unknown buffer address or PCI device ID");
 }
 
-static void __exit hammerfall_free_buffers (void)
+static void hammerfall_free_buffers (void)
 
 {
 	int i;


Please apply
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-06 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 14:03 [2.5 patch] ALSA rme9652: remove __exit from hammerfall_free_buffers Adrian Bunk

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®