From f9e7128d948a0b62e6f03295305e0080d9233fd8 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 7 Jun 2006 17:44:06 -0700 Subject: [PATCH] Added missing include of Pci.h. This caused the server to terminate when the symbol PCI_DOM_FROM_TAG couldn't be resolved at run-time. --- hw/xfree86/int10/xf86int10.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/int10/xf86int10.c b/hw/xfree86/int10/xf86int10.c index e19bfbc97..d67fc42ce 100644 --- a/hw/xfree86/int10/xf86int10.c +++ b/hw/xfree86/int10/xf86int10.c @@ -14,6 +14,7 @@ #define _INT10_PRIVATE #include "xf86int10.h" #include "int10Defines.h" +#include "Pci.h" #define REG pInt @@ -24,8 +25,7 @@ static int int1A_handler(xf86Int10InfoPtr pInt); static int int42_handler(xf86Int10InfoPtr pInt); #endif static int intE6_handler(xf86Int10InfoPtr pInt); -static struct pci_device * findPci( xf86Int10InfoPtr pInt, - unsigned short bx ); +static struct pci_device *findPci(xf86Int10InfoPtr pInt, unsigned short bx); static CARD32 pciSlotBX( const struct pci_device * pvp ); int @@ -764,7 +764,7 @@ findPci(xf86Int10InfoPtr pInt, unsigned short bx) const unsigned dev = (bx >> 3) & 0x001F; const unsigned func = (bx ) & 0x0007; - return pci_device_find_by_slot( domain, bus, dev, func ); + return pci_device_find_by_slot(domain, bus, dev, func); } static CARD32