aboutsummaryrefslogtreecommitdiff
path: root/shared-core/i915_init.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2007-12-18 02:52:09 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2007-12-18 02:52:09 +0100
commitea915c77e169a50ca7dc557512212eafa93e2205 (patch)
treebf37373067f5efa3e0a75702a558bc23bbc6eda1 /shared-core/i915_init.c
parentbdbc34e297bd7e4cb036df6244dfb0d816eed36d (diff)
Fixed build
Diffstat (limited to 'shared-core/i915_init.c')
-rw-r--r--shared-core/i915_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_init.c b/shared-core/i915_init.c
index 588cd17e..ebdcd5d3 100644
--- a/shared-core/i915_init.c
+++ b/shared-core/i915_init.c
@@ -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;