Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190506
b: refs/heads/master
c: ff40ad7
h: refs/heads/master
v: v3
  • Loading branch information
Richard LIU authored and Ralf Baechle committed Apr 30, 2010
1 parent b5ee5ea commit 3d06702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c6d541c23a92c1b74c9dc62b453f3ac5923fbe1
refs/heads/master: ff40ad72addb448c1285181820597a17685ee69a
2 changes: 1 addition & 1 deletion trunk/arch/mips/loongson/common/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static int __init find_vga_mem_init(void)
return 0;

for_each_pci_dev(dev) {
if ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA) {
if ((dev->class >> 16) == PCI_BASE_CLASS_DISPLAY) {
for (idx = 0; idx < PCI_NUM_RESOURCES; idx++) {
r = &dev->resource[idx];
if (!r->start && r->end)
Expand Down

0 comments on commit 3d06702

Please sign in to comment.