patch-2.4.25 linux-2.4.25/drivers/sound/nec_vrc5477.c

Next file: linux-2.4.25/drivers/sound/ymfpci.c
Previous file: linux-2.4.25/drivers/sound/hal2.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/sound/nec_vrc5477.c linux-2.4.25/drivers/sound/nec_vrc5477.c
@@ -1965,7 +1965,7 @@
 	return -1;
 }
 
-static void __devinit vrc5477_ac97_remove(struct pci_dev *dev)
+static void __devexit vrc5477_ac97_remove(struct pci_dev *dev)
 {
 	struct vrc5477_ac97_state *s = pci_get_drvdata(dev);
 
@@ -2001,7 +2001,7 @@
 	name: VRC5477_AC97_MODULE_NAME,
 	id_table: id_table,
 	probe: vrc5477_ac97_probe,
-	remove: vrc5477_ac97_remove
+	remove: __devexit_p(vrc5477_ac97_remove)
 };
 
 static int __init init_vrc5477_ac97(void)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)