fix OSS cs4232 linking when compiled-in
PATCH 1/1 fix OSS cs4232 linking when compiled-in
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 =====
sound/oss/cs4232.c +1 -1
@@ -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;
Quoted 5 lines · Daniel Ritz
hi
this patch fixes the linking of
sound/oss/cs4232.c.unload_cs4232can't be__exitsince it's called fromcs_4232_pnp_removewhich isn't__exit.
Correct - but surely it shoudl be __devexit ?