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
- 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/