summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Bus.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-01-17 14:04:43 -0800
committerIan Romanick <idr@us.ibm.com>2007-01-17 14:04:43 -0800
commit88f248e67143175532cbafd6faf8fc6df97c7894 (patch)
treed382e9469006a809cebd7b2fa6618bfdacd61d7f /hw/xfree86/common/xf86Bus.h
parent0361611080267727f570e17f2212aaa890223f6e (diff)
Replace PciBusId with 'struct pci_device *'
There's no need to store the slot information for a PCI device as its ID. Instead, skip the middle man and just store a pointer to the pci_device structure.
Diffstat (limited to 'hw/xfree86/common/xf86Bus.h')
-rw-r--r--hw/xfree86/common/xf86Bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h
index 8e65023b4..f1fc627b9 100644
--- a/hw/xfree86/common/xf86Bus.h
+++ b/hw/xfree86/common/xf86Bus.h
@@ -91,7 +91,6 @@ typedef struct {
#define NEED_SHARED (NEED_MEM_SHARED | NEED_IO_SHARED)
#define busType bus.type
-#define pciBusId bus.id.pci
#define isaBusId bus.id.isa
#define sbusBusId bus.id.sbus