From 3d067020fbb34e88794b8782a193cff79745a071 Mon Sep 17 00:00:00 2001 From: Richard LIU Date: Thu, 29 Apr 2010 11:58:47 +0200 Subject: [PATCH] --- yaml --- r: 190506 b: refs/heads/master c: ff40ad72addb448c1285181820597a17685ee69a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/loongson/common/mem.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c01226ebde02..68bdd74624ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1c6d541c23a92c1b74c9dc62b453f3ac5923fbe1 +refs/heads/master: ff40ad72addb448c1285181820597a17685ee69a diff --git a/trunk/arch/mips/loongson/common/mem.c b/trunk/arch/mips/loongson/common/mem.c index ec2f7964a0b0..b5f402578a87 100644 --- a/trunk/arch/mips/loongson/common/mem.c +++ b/trunk/arch/mips/loongson/common/mem.c @@ -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)