Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Tue, 8 Apr 2003 01:39:55 +0100 | From | Alan Cox <> | Subject | PATCH: cs4232 should be devexit |
| |
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/sound/oss/cs4232.c linux-2.5.67-ac1/sound/oss/cs4232.c --- linux-2.5.67/sound/oss/cs4232.c 2003-03-26 20:00:02.000000000 +0000 +++ linux-2.5.67-ac1/sound/oss/cs4232.c 2003-04-03 23:54:38.000000000 +0100 @@ -313,7 +313,7 @@ } } -static void __exit unload_cs4232(struct address_info *hw_config) +static void __devexit 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; @@ -428,7 +428,7 @@ return 0; } -static void cs4232_pnp_remove(struct pnp_dev *dev) +static void __devexit cs4232_pnp_remove(struct pnp_dev *dev) { struct address_info *cfg = pnp_get_drvdata(dev); if (cfg) { @@ -441,7 +441,7 @@ .name = "cs4232", .id_table = cs4232_pnp_table, .probe = cs4232_pnp_probe, - .remove = cs4232_pnp_remove, + .remove = __devexit_p(cs4232_pnp_remove), }; static int __init init_cs4232(void) - 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/
| ![\](/images/icornerr.gif) |