patch-2.4.15 linux/drivers/atm/eni.c
Next file: linux/drivers/atm/firestream.c
Previous file: linux/drivers/atm/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Nov 9 13:41:42 2001
- Orig file:
v2.4.14/linux/drivers/atm/eni.c
- Orig date:
Sun Sep 23 11:40:57 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/atm/eni.c linux/drivers/atm/eni.c
@@ -2266,7 +2266,7 @@
}
dev = atm_dev_register(DEV_LABEL,&ops,-1,NULL);
if (!dev) goto out2;
- pci_dev->driver_data = dev;
+ pci_set_drvdata(pci_dev, dev);
eni_dev->pci_dev = pci_dev;
ENI_DEV(dev) = eni_dev;
eni_dev->asic = ent->driver_data;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)