OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a776fa
)
Revert over-zealous change from previous commit.
author
Ian Romanick
<idr@us.ibm.com>
Tue, 26 Jun 2007 20:29:28 +0000
(13:29 -0700)
committer
Ian Romanick
<idr@us.ibm.com>
Tue, 26 Jun 2007 20:29:28 +0000
(13:29 -0700)
linux-core/xgi_linux.h
patch
|
blob
|
history
diff --git
a/linux-core/xgi_linux.h
b/linux-core/xgi_linux.h
index
8cf304c
..
465feb3
100644
(file)
--- a/
linux-core/xgi_linux.h
+++ b/
linux-core/xgi_linux.h
@@
-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