hi
this patch fixes the linking of sound/oss/cs4232.c.
unload_cs4232 can't be __exit since it's called from cs_4232_pnp_remove
which isn't __exit.
against 2.5.66-bk. please apply.
[fixes bugzilla.kernel.org #499]
rgds
-daniel
===== sound/oss/cs4232.c 1.10 vs edited =====
--- 1.10/sound/oss/cs4232.c Wed Feb 26 11:52:04 2003
+++ edited/sound/oss/cs4232.c Tue Mar 25 22:55:07 2003
@@ -313,7 +313,7 @@
}
}
-static void __exit unload_cs4232(struct address_info *hw_config)
+static void unload_cs4232(struct address_info *hw_config)
{
int base = hw_config->io_base, irq = hw_config->irq;
int dma1 = hw_config->dma, dma2 = hw_config->dma2;
On Tue, 2003-03-25 at 22:11, Daniel Ritz wrote:
> hi
>
> this patch fixes the linking of sound/oss/cs4232.c.
> unload_cs4232 can't be __exit since it's called from cs_4232_pnp_remove
> which isn't __exit.
Correct - but surely it shoudl be __devexit ?