patch-2.4.15 linux/drivers/sound/maestro3.c
Next file: linux/drivers/sound/trident.c
Previous file: linux/drivers/sound/i810_audio.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Nov 9 13:41:42 2001
- Orig file:
v2.4.14/linux/drivers/sound/maestro3.c
- Orig date:
Tue Oct 23 22:48:52 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/sound/maestro3.c linux/drivers/sound/maestro3.c
@@ -2693,7 +2693,7 @@
goto out;
}
- pci_dev->driver_data = card;
+ pci_set_drvdata(pci_dev, card);
m3_enable_ints(card);
m3_assp_continue(card);
@@ -2773,7 +2773,7 @@
{
unsigned long flags;
int i;
- struct m3_card *card = pci_dev->driver_data;
+ struct m3_card *card = pci_get_drvdata(pci_dev);
/* must be a better way.. */
save_flags(flags);
@@ -2825,7 +2825,7 @@
unsigned long flags;
int index;
int i;
- struct m3_card *card = pci_dev->driver_data;
+ struct m3_card *card = pci_get_drvdata(pci_dev);
save_flags(flags); /* paranoia */
cli();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)