ALSA rme9652: remove __exit from hammerfall_free_buffers
PATCH 1/1 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 kernel.
The following patch removes the __exit:
sound/pci/rme9652/hammerfall_mem.c renamed from sound/pci/rme9652/hammerfall_mem.c.old +1 -1
@@ -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
Signature · 4 lines
"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