[PATCH 2.5] fix OSS cs4232 linking when compiled-in

From: Daniel Ritz (daniel.ritz@gmx.ch)
Date: Tue Mar 25 2003 - 17:11:32 EST


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;

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



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:21 EST