[lkml]   [2003]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[2.5 patch] ALSA rme9652: remove __exit from hammerfall_free_buffers
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

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


"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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.035 / U:3.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site