Revert over-zealous change from previous commit.

main
Ian Romanick 2007-06-26 13:29:28 -07:00
parent 3a776fa01e
commit 3547fbda63
1 changed files with 3 additions and 0 deletions

View File

@ -195,9 +195,12 @@ EXPORT_NO_SYMBOLS;
#define XGI_PCI_BUS_NUMBER(dev) (dev)->bus->number
#define XGI_PCI_SLOT_NUMBER(dev) PCI_SLOT((dev)->devfn)
#define XGI_PCI_GET_CLASS_PRESENT
#ifdef XGI_PCI_GET_CLASS_PRESENT
#define XGI_PCI_DEV_PUT(dev) pci_dev_put(dev)
#define XGI_PCI_GET_DEVICE(vendor,device,from) pci_get_device(vendor,device,from)
#else
#define XGI_PCI_DEV_PUT(dev)
#define XGI_PCI_GET_DEVICE(vendor,device,from) pci_find_device(vendor,device,from)
#endif