OSDN Git Service

Fixed build
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Tue, 18 Dec 2007 01:52:09 +0000 (02:52 +0100)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Tue, 18 Dec 2007 01:52:09 +0000 (02:52 +0100)
shared-core/i915_init.c

index 588cd17..ebdcd5d 100644 (file)
@@ -30,7 +30,7 @@ int i915_probe_agp(struct pci_dev *pdev, unsigned long *aperture_size,
        u16 tmp = 0;
        unsigned long overhead;
 
-       bridge_dev = pci_find_slot(0, PCI_DEVFN(0,0));
+       bridge_dev = pci_get_bus_and_slot(0, PCI_DEVFN(0,0));
        if (!bridge_dev) {
                DRM_ERROR("bridge device not found\n");
                return -1;