Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196478
b: refs/heads/master
c: 10fd883
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Apr 20, 2010
1 parent 19d02f3 commit 7308a4e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4b74bf07873da2e94219a7b67a334fc1c3ce649
refs/heads/master: 10fd883ce384706f88554a0b08cc4d63345e7d8b
8 changes: 8 additions & 0 deletions trunk/drivers/char/agp/intel-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,14 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
return -ENODEV;
}

if (!bridge->driver) {
if (cap_ptr)
dev_warn(&pdev->dev, "can't find bridge device (chip_id: %04x)\n",
intel_agp_chipsets[i].gmch_chip_id);
agp_put_bridge(bridge);
return -ENODEV;
}

bridge->dev = pdev;
bridge->dev_private_data = NULL;

Expand Down

0 comments on commit 7308a4e

Please sign in to comment.