arch/mips/loongson/common/mem.c: fix find_vga_mem_init()
PATCH 1/1 arch/mips/loongson/common/mem.c: fix find_vga_mem_init()
This patchis patch allows to use all display device for instance DISPLAY_OTHER like SM501.
From: Richard LIU <[email protected]>
---
---
arch/mips/loongson/common/mem.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/loongson/common/mem.c +1 -1
@@ -96,7 +96,7 @@ static int __init find_vga_mem_init(voidreturn 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)
Quoted 7 lines · Arnaud Patard
Date: Thu, 29 Apr 2010 11:58:47 +0200
From: Arnaud Patard <[email protected]>
To: [email protected]
Subject: [PATCH]arch/mips/loongson/common/mem.c: fixfind_vga_mem_init()
Content-Type: multipart/mixed; boundary="=-=-="
Quoted 5 lines
This patchis patch allows to use all display device for instance
DISPLAY_OTHERlike SM501.From: Richard LIU <[email protected]>
Signed-off-by Arnaud Patard <[email protected]>
Applied - but:
o A From line to override the author derived from the email headers MUST be the first line of an email or git-am will ignore it. No, editing the commit messages doesn't help. I have to edit the raw mailbody and blody MIME attachments aren't makeing that any easier.
o Signed-off-by: line for the author missing.
Thanks,
Ralf